PipPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • PipPlatform
Implementers

Constructors

PipPlatform.new()
Constructs a PipPlatform.

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

dispose() Future<void>
Dispose Picture in Picture.
getPipView() Future<int>
Get the Picture in Picture view. Only available on iOS.
isActived() Future<bool>
Check if Picture in Picture is actived.
isAutoEnterSupported() Future<bool>
Check if Picture in Picture can auto enter.
isSupported() Future<bool>
Check if Picture in Picture is supported.
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.
setup(PipOptions options) Future<bool>
Setup or update Picture in Picture.
start() Future<bool>
Start Picture in Picture.
stop() Future<void>
Stop Picture in Picture.
toString() String
A string representation of this object.
inherited
unregisterStateChangedObserver() Future<void>
Unregisters a Picture in Picture state change observer.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance PipPlatform
The default instance of PipPlatform to use.
getter/setter pair