VenueEngine.withSdkEngine constructor

VenueEngine.withSdkEngine(
  1. SDKNativeEngine sdkEngine,
  2. VenueEngineInitCallback? callback
)

Creates a new instance of this class.

  • sdkEngine Instance of existing SDKEngine.

  • callback The optional callback that will be triggered when a venue engine initialization will be completed. After the initialization, the VenueService should be started using one of its methods or using VenueEngine.startWithToken.

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

Implementation

factory VenueEngine.withSdkEngine(SDKNativeEngine sdkEngine, VenueEngineInitCallback? callback) => $prototype.withSdkEngine(sdkEngine, callback);