retrieveLicense method

Future<Either<String, dynamic>> retrieveLicense()

Retrieves an already-installed license from the server for this device.

This is the native SmartfaceLicense.retrieveLicense flow, used by device-bound licenses when the server already has a license associated with the current device identifier.

Implementation

Future<Either<String, dynamic>> retrieveLicense() async {
  return await invokeNativeMethod('SmartfaceLicense.retrieveLicense');
}