setPlayerView method

Future<void> setPlayerView(
  1. int viewId
)

Implementation

Future<void> setPlayerView(int viewId) async {
  try {
    await _channel.invokeMethod('setPlayerView', {'viewId': viewId});
  } on PlatformException catch (e) {
    logger.e("setPlayerView error: ${e.details} - ${e.message}");
  }
}