BandCommandHostAPI class
API for Flutter to call native platform band operations
Constructors
- BandCommandHostAPI({BinaryMessenger? binaryMessenger, String messageChannelSuffix = ''})
-
Constructor for BandCommandHostAPI. The
binaryMessengernamed argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- pigeonVar_binaryMessenger → BinaryMessenger?
-
final
- pigeonVar_messageChannelSuffix → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBatteryLevel(
String uuid) → Future< int> -
getFirmwareVersion(
String uuid) → Future< String> -
getSerialNumber(
String uuid) → Future< String> -
getUserData(
String uuid) → Future< UserData> - Get user data from the band
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateUserData(
String uuid, UserData userData) → Future< void> - Update user data on the band
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
pigeonChannelCodec
→ const MessageCodec<
Object?>