enablePictureInPicture method

  1. @override
Future<void> enablePictureInPicture(
  1. int? textureId,
  2. double? top,
  3. double? left,
  4. double? width,
  5. double? height,
)
override

Enables PiP mode.

Implementation

@override
Future<void> enablePictureInPicture(int? textureId, double? top, double? left,
    double? width, double? height) async {
  return _channel.invokeMethod<void>(
    'enablePictureInPicture',
    <String, dynamic>{
      'textureId': textureId,
      'top': top,
      'left': left,
      'width': width,
      'height': height,
    },
  );
}