BluetoothCharacteristicProperties class

Properties for the current characteristic. The properties describe what the characteristic is able to do. For example does it support writing and/or reading.

If you call a method on BluetoothCharacteristic that is not supported then it will throw a NotSupportedError.

Constructors

BluetoothCharacteristicProperties(WebBluetoothCharacteristicProperties _properties)
A constructor for new characteristic properties.

Properties

authenticatedSignedWrites bool
Check to see if authenticated signed writes is available in this characteristic.
no setter
broadcast bool
Check to see if broadcast is available in this characteristic.
no setter
hasAuthenticatedSignedWrites bool
Check to see if the current implementation has the authenticatedSignedWrites field.
no setter
hasBroadcast bool
Check to see if the current implementation has the broadcast field.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasIndicate bool
Check to see if the current implementation has the indicate field.
no setter
hasNotify bool
Check to see if the current implementation has the notify field.
no setter
hasProperties bool
Check to see if there is this characteristic has any property at all.
no setter
hasRead bool
Check to see if the current implementation has the read field.
no setter
hasReliableWrite bool
Check to see if the current implementation has the reliableWrite field.
no setter
hasWritableAuxiliaries bool
Check to see if the current implementation has the writableAuxiliaries field.
no setter
hasWrite bool
Check to see if the current implementation has the write field.
no setter
hasWriteWithoutResponse bool
Check to see if the current implementation has the writeWithoutResponse field.
no setter
indicate bool
Check to see if indicate is available in this characteristic.
no setter
notify bool
Check to see if notify is available in this characteristic. If this is true then you can use BluetoothCharacteristic.startNotifications. Though it may still throw a SecurityError
no setter
read bool
Check to see if read is available in this characteristic.
no setter
reliableWrite bool
Check to see if reliable write is available in this characteristic.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writableAuxiliaries bool
Check to see if writable auxiliaries is available in this characteristic.
no setter
write bool
Check to see if write is available in this characteristic.
no setter
writeWithoutResponse bool
Check to see if write without response is available in this characteristic.
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