setGlobalLicense static method

Future<void> setGlobalLicense(
  1. String licenceUrl,
  2. String licenceKey
)

Setting the global license 设置全局license

Implementation

static Future<void> setGlobalLicense(String licenceUrl, String licenceKey) async {
  return await _playerPluginApi.setGlobalLicense(LicenseMsg()
    ..licenseKey = licenceKey
    ..licenseUrl = licenceUrl);
}