Skip to content
Select language:English

MDK 3.7.3

Configures which MDK-managed features require deferred activation.

By default, the MDK assumes that all required permissions have already been granted and accesses its internally managed features directly.

This method allows selected features to be handled through the feature request mechanism instead. When one of these features is needed, the MDK generates a FeatureRequest, allowing the application to perform any necessary authorization or initialization before enabling it.

Once the feature becomes available, the application can call LocationSession.enableDeferredFeature to allow the MDK to use it.

Only FeatureRequest.Type.BLUETOOTH_LE, FeatureRequest.Type.WIFI, and FeatureRequest.Type.GNSS support deferred activation.

Features provided externally, such as FeatureRequest.Type.TRACKING_POSE and FeatureRequest.Type.INFERRED_LOCATION, are always requested through the feature request mechanism and cannot be configured using this method.

Note: This method has no effect on iOS, where sensor permissions and access are managed automatically by the operating system.

Parameters

list

The features to activate through the feature request mechanism.

Throws

If the list contains a feature that does not support deferred activation.