MethodChannelFlutterBlePeripheralCentral class
An implementation of FlutterBlePeripheralCentralPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- FlutterBlePeripheralCentralPlatform
- MethodChannelFlutterBlePeripheralCentral
Constructors
Properties
- eventChannelOfCentral → EventChannel
-
final
- eventChannelOfPeripheral → EventChannel
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- methodChannelOfCentral → MethodChannel
-
final
- methodChannelOfPeripheral → MethodChannel
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bleDisconnect(
) → Future< String?> -
override
-
bleReadCharacteristic(
) → Future< String?> -
override
-
bleWriteCharacteristic(
String sendData) → Future< String?> -
override
-
editTextCharForRead(
String textCharForRead) → Future< String?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scanAndConnect(
) → Stream -
override
-
sendIndicate(
String sendData) → Future< String?> -
override
-
startBlePeripheralService(
String textForAdvertising, String textCharForRead) → Stream -
override
-
stopBlePeripheralService(
) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited