GlyphInterfaceSdk class

The implementation of GlyphInterfaceSdk that uses the platform-specific implementation.

Constructors

GlyphInterfaceSdk()

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

animate({required String id}) Future<void>
This method is used to animate the led channel(s). The led will be turned on and off repeatedly.
build({required String id}) Future<void>
This method is used to build the led channel(s). This method closes the builder and prepares the led channel(s) for activation.
builder() Future<String>
Method to create a builder. This is the first method to be called before any other method.
channel({required String id, required int channel}) Future<void>
This method is used to select the led channel to activate. Should be called after the builder method.
getPlatform() Future<GlyphCommon?>
Method to get the phone model.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCycles({required String id, required int cycles}) Future<void>
This method is used to set the number of cycles of the led channel(s).
setInterval({required String id, required int interval}) Future<void>
This method is used to set the interval of the led channel(s).
setPeriod({required String id, required int period}) Future<void>
This method is used to set the period of the led channel(s).
toggle({required String id}) Future<void>
This method is used to activate the led channel(s). The led will be turned on statically.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited