PictureInPictureApi class abstract

Provides an API to interact with the Picture-in-Picture mode of a PlayerView.

Constructors

PictureInPictureApi()

Properties

hashCode int
The hash code for this object.
no setterinherited
isPictureInPicture Future<bool>
Returns whether the PlayerView is currently in Picture-in-Picture (PiP) mode.
no setter
isPictureInPictureAvailable Future<bool>
Returns if Picture-In-Picture is available.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enterPictureInPicture() Future<void>
The PlayerView enters Picture-In-Picture mode. Has no effects if already in Picture-In-Picture.
exitPictureInPicture() Future<void>
The PlayerView exits Picture-In-Picture mode. Has no effect if not in Picture-In-Picture mode.
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