chirpsdk / io.chirp.chirpsdk / ChirpSDK / setConfigFromNetwork

setConfigFromNetwork

fun setConfigFromNetwork(callback: (success: Boolean, error: ChirpError?) -> Unit): Unit

Set your default app config by fetching it from the Chirp REST API. This should typically only be used in cases in which you want your configuration to be generated dynamically – for example, if you are rapidly prototyping different transmission settings with Chirp.

Parameters

callback - : Unit

fun setConfigFromNetwork(listener: ChirpSetConfigListener): ChirpError

Set your default app config by fetching it from the Chirp REST API. This should typically only be used in cases in which you want your configuration to be generated dynamically – for example, if you are rapidly prototyping different transmission settings with Chirp.

Parameters

listener - ChirpSetConfigListener

See Also

io.chirp.chirpsdk.interfaces.ChirpSetConfigListener

io.chirp.chirpsdk.models.ChirpError

Return
ChirpError