HMSIOSPIPController class
HMSIOSPIPController is used to setup and start the PIP in iOS. To know more visit here.
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
-
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
Static Methods
-
changeText(
{required String text, List< int> ? aspectRatio, Color backgroundColor = Colors.black}) → Future<HMSException?> - changeText is used to change the Text of PIP window.
-
changeVideoTrack(
{required HMSVideoTrack track, List< int> ? aspectRatio, required String alternativeText, ScaleType scaleType = ScaleType.SCALE_ASPECT_FILL, Color backgroundColor = Colors.black}) → Future<HMSException?> - changeVideoTrack is used to change the track of PIP window.
-
destroy(
) → Future< bool> - Method to destroy PIP View.
-
isActive(
) → Future< bool> - Method to check whether pip mode is active currently
-
isAvailable(
) → Future< bool> - Method to check whether pip mode is available for the current device
-
setup(
{bool? autoEnterPip, List< int> ? aspectRatio, ScaleType scaleType = ScaleType.SCALE_ASPECT_FILL, Color backgroundColor = Colors.black}) → Future<HMSException?> - setup PIP is used to setup PIP in iOS devices. parameters:
-
start(
) → void - start is used to start PIP manually.
-
stop(
) → void - stop is used to stop PIP manually.