AmbientCallback mixin
Callback to receive ambient mode state changes.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEnterAmbient(
AmbientDetails ambientDetails) → void - Called when an activity is entering ambient mode.
-
onExitAmbient(
) → void - Called when an activity should exit ambient mode.
-
onInvalidateAmbientOffload(
) → void - Called to inform an activity that whatever decomposition it has sent to Sidekick is no longer valid and should be re-sent before enabling ambient offload.
-
onUpdateAmbient(
) → void - Called when the system is updating the display for ambient mode.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited