makeSharedInstance static method

Future<void> makeSharedInstance(
  1. SDKOptions options
)

Makes a new instance of SDKNativeEngine using supplied options and stores it as shared instance see SDKNativeEngine.sharedInstance.

If there was previously shared instance then it's disposed (see SDKNativeEngine.dispose) before new instance is created.

  • options The options for the new engine.

Throws InstantiationException. Indicates what went wrong when the instantiation was attempted.

Implementation

static Future<void> makeSharedInstance(SDKOptions options) => $prototype.makeSharedInstance(options);