BluetoothSerialPlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- BluetoothSerialPlatform
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
connect(
String address, {String uuid = "00001101-0000-1000-8000-00805F9B34FB", int timeoutMs = 200}) → Future< bool> -
disconnect(
) → Future< void> -
ensurePermissions(
) → Future< bool> -
getPairedDevices(
) → Future< List< Map< >String, String> > - Métodos que toda plataforma deve implementar
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → Future< String?> -
readLine(
[String delimiter = "\n"]) → Future< String?> -
scanDevices(
) → Future< List< Map< >String, String> > -
toString(
) → String -
A string representation of this object.
inherited
-
write(
String message) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ BluetoothSerialPlatform
-
Implementação padrão (Android)
getter/setter pair