- 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:
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityFlags(int value) Creates a new SecurityFlags with givenvalue.SecurityFlags(QBluetooth.Security ... args) Creates a new SecurityFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QBluetooth.SecurityFlagsclone()Clones the flagsfinal QBluetooth.SecurityFlagsCombines this flags with enum entry.final intfinal QBluetooth.Security []flags()Returns an array of flag objects represented by this SecurityFlags.final QBluetooth.SecurityFlagsSets the flagefinal QBluetooth.SecurityFlagssetFlag(QBluetooth.Security e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
SecurityFlags
Creates a new SecurityFlags where the flags inargsare 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:
combinedin classQFlags<QBluetooth.Security>- Parameters:
e- enum entry- Returns:
- new SecurityFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QBluetooth.Security>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QBluetooth.Security>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QBluetooth.Security>
-
compareTo
- Specified by:
compareToin interfaceComparable<QBluetooth.SecurityFlags>
-