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