NothingGlyphInterfacePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • NothingGlyphInterfacePlatform
Implementers

Constructors

NothingGlyphInterfacePlatform.new()
Constructs a NothingGlyphInterfacePlatform.

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() Future<void>
Used for animating a breathing animation using the parameters of channels, period, and interval set in the GlyphFrame.
buildGlyphFrame(List<Map<String, int?>> operations) Future<void>
Allows the user to build more complex GlyphFrames.
displayProgress(int progress, {bool reverse = false}) Future<void>
Used to display a progress value on C1 / D1.
displayProgressAndToggle(int progress, {bool reverse = false}) Future<void>
Used to simultaneously toggle all Glyphs except C1 / D1 and display the progress value on C1 / D1.
getChannel() Future<List<int>?>
Returns the array of Glyph channels that are included in the GlyphFrame.
getCycles() Future<int?>
Returns the number of cycles the GlyphFrame is to be turned on for.
getInterval() Future<int?>
Returns the interval between cycles.
getPeriod() Future<int?>
Returns the duration of the GlyphFrame is to be turned on, measured in milliseconds.
getPlatformVersion() Future<String?>
init() Future<void>
initCallbacks(dynamic serviceConnection(bool connected)) → void
is20111() Future<bool?>
Returns true if the device is a 20111 aka NothingPhone1
is22111() Future<bool?>
Returns true if the device is a 22111 aka NothingPhone2
is23111() Future<bool?>
Returns true if the device is a 23111 aka NothingPhone2a
is23113() Future<bool?>
Returns true if the device is a 23113 aka NothingPhone2aPlus
is24111() Future<bool?>
Returns true if the device is a is24111 aka NothingPhone3a and NothingPhone3aPro
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toggle() Future<void>
Used to enable/disable the channels set in the GlyphFrame.
toString() String
A string representation of this object.
inherited
turnOff() Future<void>
Used to turn off any showing glyph.

Operators

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

Static Properties

instance NothingGlyphInterfacePlatform
The default instance of NothingGlyphInterfacePlatform to use.
getter/setter pair