java.lang.Object
io.qt.QFlags<QBluetoothDeviceInfo.CoreConfiguration>
io.qt.bluetooth.QBluetoothDeviceInfo.CoreConfigurations
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QBluetoothDeviceInfo.CoreConfigurations>
- Enclosing class:
- QBluetoothDeviceInfo
public static final class QBluetoothDeviceInfo.CoreConfigurations extends QFlags<QBluetoothDeviceInfo.CoreConfiguration> implements Comparable<QBluetoothDeviceInfo.CoreConfigurations>
QFlags type for enum
QBluetoothDeviceInfo.CoreConfiguration
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description CoreConfigurations(int value)
Creates a new CoreConfigurations with givenvalue
.CoreConfigurations(QBluetoothDeviceInfo.CoreConfiguration... args)
Creates a new CoreConfigurations where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QBluetoothDeviceInfo.CoreConfigurations
clone()
Clones the flagsQBluetoothDeviceInfo.CoreConfigurations
combined(QBluetoothDeviceInfo.CoreConfiguration e)
Combines this flags with enum entry.int
compareTo(QBluetoothDeviceInfo.CoreConfigurations other)
QBluetoothDeviceInfo.CoreConfiguration[]
flags()
Returns an array of flag objects represented by this CoreConfigurations.QBluetoothDeviceInfo.CoreConfigurations
setFlag(QBluetoothDeviceInfo.CoreConfiguration e)
Sets the flage
QBluetoothDeviceInfo.CoreConfigurations
setFlag(QBluetoothDeviceInfo.CoreConfiguration e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
CoreConfigurations
Creates a new CoreConfigurations where the flags inargs
are set.- Parameters:
args
- enum entries
-
CoreConfigurations
public CoreConfigurations(int value)Creates a new CoreConfigurations with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QBluetoothDeviceInfo.CoreConfigurations combined(QBluetoothDeviceInfo.CoreConfiguration e)Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Parameters:
e
- enum entry- Returns:
- new CoreConfigurations
-
setFlag
public final QBluetoothDeviceInfo.CoreConfigurations setFlag(QBluetoothDeviceInfo.CoreConfiguration e)Sets the flage
- Overrides:
setFlag
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QBluetoothDeviceInfo.CoreConfigurations setFlag(QBluetoothDeviceInfo.CoreConfiguration e, boolean on)Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this CoreConfigurations.- Overrides:
flags
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QBluetoothDeviceInfo.CoreConfigurations>
-