enablePictureInPicture method

Future<bool> enablePictureInPicture(
  1. String roomId,
  2. bool enable, {
  3. bool isLandscape = false,
})

Implementation

Future<bool> enablePictureInPicture(String roomId, bool enable, {bool isLandscape = false}) async {
  final jsonString = _buildEnablePipJsonParams(enable, roomId, isLandscape: isLandscape);
  return TUILiveKitPlatform.instance.enablePictureInPicture(jsonString);
}