locationEnabled

Indicates whether location is enabled on current device. True indicates that location is enabled, false indicates that location is disabled, null indicates that status is unknown. Notice that location status is only available for SDK 28 or later.