setAppID method

Future<void> setAppID(
  1. int appId
)

Set appId 设置appId

Implementation

Future<void> setAppID(int appId) async {
  if (_isNeedDisposed) return;
  await _initPlayer.future;
  await _livePlayerApi.setAppID(StringPlayerMsg()
    ..value = appId.toString()
    ..playerId = _playerId);
}