fromInputStream
Parses a CoreConfiguration from a UTF-8 encoded JSON input stream.
The JSON must contain at minimum the Url, OrganizationId, and DeveloperName fields. This is the same format as the config file downloaded from the Embedded Service Deployment settings in Salesforce Setup.
Use this method when you need to load configuration from a custom source (e.g., a network response or encrypted file). For loading from the app's assets/ folder, prefer fromFile which handles asset loading automatically.
Parameters
A InputStream containing UTF-8 encoded JSON configuration data.
Set to true if the deployment requires user verification.
Locale-to-language mapping for custom label resolution. See Configuration.remoteLocaleMap.
Optional extension enabling voice and video capabilities.
The client protocol version. Defaults to ClientType.MIAW_MOBILE_V1.
The SDK product name. Defaults to ClientName.MOBILE_IN_APP_SDK.
Throws
If the stream cannot be read.
If the JSON content cannot be deserialized into a valid configuration.