MethodChannelAirPlay class
An implementation of AirPlayPlatform that uses MethodChannel to communicate with the native code.
- Inheritance
-
- Object
- AirPlayPlatform
- MethodChannelAirPlay
Constructors
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
-
buildView(
Map< String, dynamic> arguments, PlatformViewCreatedCallback onPlatformViewCreated) → Widget -
Returns a widget displaying the button.
override
-
channel(
int id) → MethodChannel? - Accesses the MethodChannel associated to the passed id.
-
init(
int id) → Future< void> -
Initializes the platform interface with
id
.override -
isAirplayConnected(
{required int id}) → Stream< AirplayStateChangedEvent> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRoutesClosed(
{required int id}) → Stream< RoutesClosedEvent> -
The route has closed.
override
-
onRoutesOpening(
{required int id}) → Stream< RoutesOpeningEvent> -
The route is opening.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited