enableRestrictedNetworkCapability

open fun enableRestrictedNetworkCapability(restrictedNetworkType: Int, isFallbackAllowed: Boolean): STWConfiguration.Builder

Sets whether the app must use CBS or MCX network capability. Please note that the CBS/MCX capability can work only on Devices running Android OS >=9 and only available for system applications.

Return

Builder This Builder object to allow for chaining of calls to set methods.

Parameters

restrictedNetworkType

STWConfigurationRestrictedNetwork CBS or MCX or no restricted network.

isFallbackAllowed

boolean TRUE if fallback is allowed (when restricted network is not available), FALSE otherwise.