UnsupportedCastKeepAlive class
CastKeepAlive where the platform has nothing to hold (Linux, macOS): hold is false, the rest does nothing, and no control is ever pressed. Casting goes on as long as the app runs.
- Implemented types
Constructors
- UnsupportedCastKeepAlive()
-
const
Properties
-
actions
→ Stream<
CastAction> -
The notification's controls.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hold(
CastNotice notice) → Future< bool> -
A TV plays: true once held, false when the system refused or this
platform has nothing to hold.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → Future< void> -
Casting ended.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
CastNotice notice) → Future< void> -
What is shown while held, again: playing or paused, another video.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited