fromAsset

fun fromAsset(fileName: String): WebcomConfiguration

Builds a WebcomConfiguration instance from an Android asset fileName.

Throws

if the asset file cannot be opened or read.

com.orange.webcom.sdk.WebcomException

if the "applicationId" property is missing or the "websocketProtocol" property cannot be parsed within the asset file.