setLicense static method

Future<void> setLicense(
  1. String license
)

Set license auth.

Available since: 3.5.0 Description: This function needs to be called to complete the configuration when using License authentication charges. When to call: Must be set before calling createEngine to take effect, otherwise it will fail. Restrictions: Does not support midway changes. Caution: None.

  • license license.

Implementation

static Future<void> setLicense(String license) async {
  return await ZegoExpressImpl.setLicense(license);
}