MethodChannelCastKeepAlive class

CastKeepAlive over the plugin's channel, tv_cast/keep_alive.

Implemented types

Constructors

MethodChannelCastKeepAlive({MethodChannel? channel})

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

Constants

channelName → const String