MethodChannelPip class
An implementation of PipPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- PipPlatform
- MethodChannelPip
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → Future< void> -
Dispose Picture in Picture.
override
-
getPipView(
) → Future< int> -
Get the Picture in Picture view.
Only available on iOS.
override
-
isActived(
) → Future< bool> -
Check if Picture in Picture is actived.
override
-
isAutoEnterSupported(
) → Future< bool> -
Check if Picture in Picture can auto enter.
override
-
isSupported(
) → Future< bool> -
Check if Picture in Picture is supported.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerStateChangedObserver(
PipStateChangedObserver observer) → Future< void> -
Registers a Picture in Picture state change observer.
override
-
setup(
PipOptions options) → Future< bool> -
Setup or update Picture in Picture.
override
-
start(
) → Future< bool> -
Start Picture in Picture.
override
-
stop(
) → Future< void> -
Stop Picture in Picture.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterStateChangedObserver(
) → Future< void> -
Unregisters a Picture in Picture state change observer.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited