AgoraPipStateChangedObserver class
Observer for Picture-in-Picture state changes.
Implement this class to receive notifications about PiP state transitions and potential errors.
Constructors
- AgoraPipStateChangedObserver.new({required void onPipStateChanged(AgoraPipState state, String? error)})
-
Creates an observer for PiP state changes.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onPipStateChanged → void Function(AgoraPipState state, String? error)
-
Callback function for PiP state changes.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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