enablePictureInPicture method

Future<V2TXLiveCode> enablePictureInPicture(
  1. bool enable
)

Whether to turn on picture-in-picture mode

Parameter:

enable Whether to enable picture-in-picture mode. Default: false

Return:

  • V2TXLIVE_OK: Succeed

Implementation

Future<V2TXLiveCode> enablePictureInPicture(bool enable) async {
  var result = await _channel.invokeMethod('enablePictureInPicture', {"enable": enable});
  return _liveCodeWithResult(result);
}