getRestrictedNetworkCapability

open fun getRestrictedNetworkCapability(@NonNull context: Context, defaultNetwork: Int): Int

Please use getRestrictedNetworkCapability

Call this method to get the network capability either configured in the BE admin interface or default if not configured.

Note : All ports are concatenated with comma separator.

Return

The configured network capability or defaultNetwork

See also

Parameters

context

The application context

defaultNetwork

The default network capability if not configured in the BE admin


open fun getRestrictedNetworkCapability(@NonNull context: Context): Int

Call this method to get the network capability either configured in the BE admin interface or default if not configured. Note : All ports are concatenated with comma separator.

Return

The configured network capability or defaultNetwork

See also

Parameters

context

The application context