MethodChannelZegoPip class

An implementation of ZegoPipPlatform that uses method channels.

Inheritance

Constructors

MethodChannelZegoPip.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
The method channel used to interact with the native platform.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableCustomVideoRender(bool isEnabled) Future<void>
Enable or disable custom video rendering.
override
enableHardwareDecoder(bool isEnabled) Future<void>
Enable or disable hardware decoder (iOS only).
override
enableIOSPIP(String streamID, {int aspectWidth = 9, int aspectHeight = 16}) Future<void>
Enable iOS picture-in-picture mode (iOS only).
override
enableIOSPIPAuto(bool isEnabled, {int aspectWidth = 9, int aspectHeight = 16}) Future<void>
Enable iOS auto picture-in-picture mode (iOS only).
override
isIOSInPIP() Future<bool>
Check if iOS is in picture-in-picture mode (iOS only).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startPlayingStreamInPIP(String streamID) Future<void>
Start playing a video stream in picture-in-picture mode.
override
stopIOSPIP() Future<bool>
Stop iOS picture-in-picture mode (iOS only).
override
stopPlayingStreamInPIP(String streamID) Future<void>
Stop playing a video stream in picture-in-picture mode.
override
toString() String
A string representation of this object.
inherited
updateIOSPIPSource(String streamID) Future<void>
Update iOS picture-in-picture source stream (iOS only).
override
updatePlayingStreamViewInPIP(int viewID, String streamID, int viewMode) Future<void>
Update the playing stream view in picture-in-picture mode.
override

Operators

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