AgoraPipController class abstract
Controller interface for managing picture-in-picture functionality.
Since Available since v6.6.2. This abstract class defines the methods required to control picture-in-picture mode, including setup, state management, and lifecycle operations.
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
-
dispose(
) → Future< void> - Releases resources related to picture-in-picture.
-
isPipActivated(
) → Future< bool> - Checks whether picture-in-picture mode is activated.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pipDispose(
) → Future< void> - Releases resources related to picture-in-picture.
-
pipIsAutoEnterSupported(
) → Future< bool> - Checks whether automatic entry into picture-in-picture mode is supported.
-
pipIsSupported(
) → Future< bool> - Checks whether the current device supports picture-in-picture mode.
-
pipSetup(
AgoraPipOptions options) → Future< bool> - Configures picture-in-picture mode.
-
pipStart(
) → Future< bool> - Starts picture-in-picture mode.
-
pipStop(
) → Future< void> - Stops picture-in-picture mode.
-
registerPipStateChangedObserver(
AgoraPipStateChangedObserver observer) → Future< void> - Registers a picture-in-picture state change observer.
-
toString(
) → String -
A string representation of this object.
inherited
-
unregisterPipStateChangedObserver(
) → Future< void> - Unregisters the picture-in-picture state change observer.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited