init
Initializes the SDK. Call once, as early as possible — Application.onCreate is the natural place.
The license is checked against your app's application ID and the product name for being set, so those mistakes fail at startup rather than at the first content request. Nothing is fetched and no session is opened: authenticate with auth once you have a token.
Calling this again after a successful initialization keeps the configuration the SDK already has and discards the one passed in — after validating it, so a bad license or product name still throws.
Parameters
the full SDK configuration, built with SdkConfig.Builder.
Throws
if no license was found, in config or in the manifest.
if the license that was found is not valid.
if SdkConfig.Builder.productName was never set, or set to a blank name.