isTLSEnabledForOSM

open fun isTLSEnabledForOSM(@NonNull context: Context, defaultStatus: Boolean): Boolean

Call this method to check whether OSM requests use TLS with https or not based on the configured parameter in the BE admin interface or the defaultStatus if not configured.

Return

The configured OSM use tls or defaultStatus

Parameters

context

The application context

defaultStatus

The default OSM use tls if no not configured in the BE admin