UniversalBleServerPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- UniversalBleServerPlatform
- Implementers
Constructors
Properties
-
events
→ Stream<
Map< String, Object?> > -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onRead
→ Stream<
BleReadEvent> -
no setter
-
onWrite
→ Stream<
BleWriteEvent> -
no setter
- ownershipKey → Object
-
Adapters that share native channels must share this ownership identity.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkSupport(
) → Future< BleCapabilities> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notify(
String characteristicUuid, List< int> value) → Future<void> -
notifyClient(
String characteristicUuid, List< int> value, String clientId) → Future<void> -
requestPermissions(
) → Future< BleCapabilities> - On Android, requires a foreground Activity. On Apple, system-managed.
-
setRequestHandler(
BleRequestHandler? handler) → void -
setValue(
String characteristicUuid, List< int> value) → Future<void> -
startProfile(
BleProfile profile) → Future< void> -
startServer(
{required String serviceUuid, required List< BleCharacteristic> characteristics}) → Future<void> -
stopServer(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ UniversalBleServerPlatform
-
getter/setter pair