FirmwareMockCharacteristic class
- Inheritance
-
- Object
- BluetoothCharacteristic
- FirmwareMockCharacteristic
- Available extensions
Constructors
- FirmwareMockCharacteristic.new({required BleMockDevice device})
Properties
- characteristicId → GKCharId
-
Available on BluetoothCharacteristic, provided by the CharacteristicHelper extension
no setter - characteristicUuid → Guid
-
finalinherited
-
descriptors
→ List<
BluetoothDescriptor> -
Get Descriptors from known services
no setterinherited
- device → BleMockDevice
-
convenience accessor
final
- deviceId → DeviceIdentifier
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotifying → bool
-
return true if we're subscribed to this characteristic
no setterinherited
-
lastValue
↔ List<
int> -
this variable is updated:
getter/setter pairoverride-getter
-
lastValueStream
→ Stream<
List< int> > -
this stream emits values:
no setterinherited
- name → String
-
Available on BluetoothCharacteristic, provided by the CharacteristicHelper extension
no setter -
onValueChangedStream
→ Stream<
List< int> > -
no setterinherited
-
onValueReceived
→ Stream<
List< int> > -
this stream emits values:
no setterinherited
- primaryServiceUuid → Guid?
-
finalinherited
- properties → CharacteristicProperties
-
Get Properties from known services
no setteroverride
- remoteId → DeviceIdentifier
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceUuid → Guid
-
finalinherited
- stringValue → String
-
Available on BluetoothCharacteristic, provided by the CharacteristicHelper extension
no setter - uuid → Guid
-
convenience accessor
no setterinherited
-
value
→ Stream<
List< int> > -
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
{int? timeout}) → Future< List< int> > -
read a characteristic
override
-
setNotifyValue(
bool notify, {int timeout = 15, bool forceIndications = false}) → Future< bool> -
Sets notifications or indications for the characteristic.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
write(
List< int> value, {bool withoutResponse = false, bool allowLongWrite = false, int timeout = 15}) → Future<void> -
Writes a characteristic.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited