register method

Future<bool?> register({
  1. required String appId,
  2. required bool useTextureView,
  3. required String appName,
  4. required bool allowShowNotify,
  5. required bool allowShowPageWhenScreenLock,
  6. required bool debug,
  7. required bool supportMultiProcess,
  8. List<int>? directDownloadNetworkType,
})

Implementation

Future<bool?> register({
  required String appId,
  required bool useTextureView,
  required String appName,
  required bool allowShowNotify,
  required bool allowShowPageWhenScreenLock,
  required bool debug,
  required bool supportMultiProcess,
  List<int>? directDownloadNetworkType,
}) {
  return BytedancePangolinPlatform.instance.register(
      appId: appId,
      useTextureView: useTextureView,
      appName: appName,
      allowShowNotify: allowShowNotify,
      allowShowPageWhenScreenLock: allowShowPageWhenScreenLock,
      debug: debug,
      supportMultiProcess: supportMultiProcess,
      directDownloadNetworkType: directDownloadNetworkType);
}