Wear class
Provides access to Wearable features
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
-
getShape(
) → Future< String> - Fetches the shape of the watch face
-
isAmbient(
) → Future< bool> - Tells the application if we are currently in ambient mode
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAmbientCallback(
AmbientCallback callback) → void - Register callback for ambient notifications
-
setAmbientOffloadEnabled(
bool enabled) → Future< void> - Sets whether this activity is currently in a state that supports ambient offload mode.
-
setAutoResumeEnabled(
bool enabled) → Future< void> - Sets whether this activity's task should be moved to the front when the system exits ambient mode.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterAmbientCallback(
AmbientCallback callback) → void - Unregister callback for ambient notifications
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited