MethodChannelRfid class
An implementation of RfidPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- RfidPlatform
- MethodChannelRfid
Constructors
Properties
- batteryLevelChangeStream → Stream
-
no setteroverride
- batteryLevelEventChannel → EventChannel
-
final
- deviceChangeEventChannel → EventChannel
-
final
- deviceConnectionChangeStream → Stream
-
no setteroverride
- equipmentScanChangeStream → Stream
-
no setteroverride
- equipmentScanEventChannel → 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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- switchStateChangeStream → Stream
-
no setteroverride
- switchStateEventChannel → EventChannel
-
final
Methods
-
alertCommand(
{RfidAlertDuration? duration}) → Future< bool> -
override
-
connectDevice(
{required String serialNumber}) → Future< String> -
override
-
disconnect(
) → Future< void> -
override
-
getAvailableDevices(
) → Future< String> -
override
-
getDeviceConnectionStatus(
{required String serialNumber}) → Future< bool> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scanBarCode(
) → Future< bool> -
override
-
setPower(
{required int power}) → Future< String> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerBatteryCommand(
{required String serialNumber}) → Future< bool> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- batteryLevelEvent ↔ String
-
getter/setter pair
- equipmentScanEvent ↔ String
-
getter/setter pair
- rfidDeviceChangeEvent ↔ String
-
getter/setter pair
- switchStateEvent ↔ String
-
getter/setter pair