View on GitHub

meta-android-sdk

Render Metaverse Experiences in your own apps

MetaverseSDK / io.gometa.sdk / Meta / initialize

initialize

@JvmStatic fun initialize(context: Context, apiKey: String?): Unit

Initialize the SDK. This method is automatically called when rendering a storyboard, but may be called manually by the host app prior for the purpose of making other API calls such as loadStoryboardSummary.

When calling this endpoint, the application may pass it’s API key. Alternatively, it may pass null, at which point the SDK will attempt to locate the API key from the application manifest’s metadata io.gometa.metaverse.sdk.API_KEY.

Parameters

context - The context used to initialize the SDK.

apiKey - An optional API key. If null, the SDK will search in the application’s manifest.