# getRequested

abstract fun getRequested(): Provider<Boolean>(source)

Whether the feature was requested for the build.

The provider can be undefined if the user did not explicitly opt in or opt out from a feature. Use getOrNull to safely retrieve a nullable value or check isPresent.

This method is primarily useful for gathering feature usage statistics, as it corresponds to the user intention.

Note that the requested state does not always imply that the feature is active in the build. In case an effective status is needed, use getActive.

#### Since

8.5