MethodChannelNimmsta class
The implementation of the platform-specific functionalities for the Nimmsta SDK
- Inheritance
-
- Object
- PlatformInterface
- NimmstaPlatform
- MethodChannelNimmsta
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(
) → Future< void> -
Establishes a connection to the Nimmsta device.
override
-
disconnect(
) → Future< void> -
Disconnects from the currently connected Nimmsta device.
override
-
getCallbackStream(
) → Stream< NimmstaEvent> -
Provides a stream of callback events from the Nimmsta device.
override
-
isConnected(
) → Future< bool?> -
Checks if the Nimmsta device is currently connected.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reconnect(
String address) → Future< void> -
Attempts to reconnect to the Nimmsta device using its address.
override
-
setLayout(
String layout, Map< String, String> data) → Future<void> -
Configures the screen layout on the Nimmsta device.
override
-
setLEDColor(
Color color) → Future< void> -
Sets the LED color of the Nimmsta device.
override
-
setScreenInfoAsync(
Map< String, String> data) → Future<void> -
Updates the screen information asynchronously on the Nimmsta device.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerBeeperBurst(
int repeat, int duration, int pulseDuration, int intensity) → Future< void> -
Triggers a beeper burst pattern on the Nimmsta device.
override
-
triggerLEDBurst(
int repeat, int duration, int pulseDuration, Color color) → Future< void> -
Triggers an LED burst pattern on the Nimmsta device.
override
-
triggerVibrationBurst(
int repeat, int duration, int pulseDuration, int intensity) → Future< void> -
Triggers a vibration burst pattern on the Nimmsta device.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited