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