setPlayerView method

Future<void> setPlayerView(
  1. int viewId
)

设置播放器的视图playerView

Implementation

Future<void> setPlayerView(int viewId) async {
  return FlutterAliPlayerFactory.methodChannel
      .invokeMethod('setPlayerView', wrapWithPlayerId(arg: viewId));
}