AirPlayRoute class
AirPlay on iOS: the system moves the player's video to the TV; this says
when it has, from the audio route, so the app can feed the player
through a MediaRelay (the TV fetches the video itself, without the
app's headers).
Constructors
- AirPlayRoute({MethodChannel? channel})
-
Hears the route through
channel(the plugin's, by default), taking it over from any route made before.
Properties
-
changes
→ Stream<
AirPlayState> -
Each change of route; the same state may come twice.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
current(
) → Future< AirPlayState> -
dispose(
) → Future< void> - Stops hearing the route: changes ends, and the channel's handler goes unless a newer route holds it.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- channelName → const String