BleCharacteristicProperty enum
An enumeration representing the bitwise properties of a BluetoothGattCharacteristic
.
Each property is represented by a specific bit in an integer bitmask. These properties define the capabilities and behaviors of a characteristic, such as whether a characteristic can be read, written, or notified of changes.
- Inheritance
- Available extensions
Values
- broadcast → const BleCharacteristicProperty
-
Indicates that the characteristic value can be broadcast using Server Characteristic Configuration Descriptor.
- read → const BleCharacteristicProperty
-
Indicates that the characteristic value can be read.
- noResponse → const BleCharacteristicProperty
-
Indicates that the characteristic value can be written without response.
- write → const BleCharacteristicProperty
-
Indicates that the characteristic value can be written.
- notify → const BleCharacteristicProperty
-
Indicates that the characteristic value can notify a connected device if the value changes.
- indicate → const BleCharacteristicProperty
-
Indicates that the characteristic value can indicate an update to a connected device.
- signedWrite → const BleCharacteristicProperty
-
Indicates that the characteristic supports signed writes.
- props → const BleCharacteristicProperty
-
Refers to the extended properties descriptor, which provides more details about a characteristic's behaviors.
- reliableWrite → const BleCharacteristicProperty
-
Indicates that the characteristic supports reliable writes, ensuring the data is properly received.
- writableAuxiliaries → const BleCharacteristicProperty
-
Indicates that auxiliary writable descriptors are present.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
Available on BleCharacteristicProperty, provided by the BluetoothGattCharacteristicPropertiesExtension extension
Retrieves the bitmask value corresponding to the characteristic property.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromInt(
int value) → List< BleCharacteristicProperty> - Converts an integer containing bitwise representations into a list of enum values.
Constants
-
values
→ const List<
BleCharacteristicProperty> - A constant List of the values in this enum, in order of their declaration.