LocationReadyStatus

sealed class LocationReadyStatus

Aggregate status for Location feature readiness.

Inheritors

Types

Link copied to clipboard
data class BothRequired(val grantStatus: GrantStatus) : LocationReadyStatus

Both the OS permission and the hardware service are disabled.

Link copied to clipboard
data class GrantDenied(val grantStatus: GrantStatus) : LocationReadyStatus

Permission is missing; hardware status is secondary.

Link copied to clipboard

Feature is fully functional.

Link copied to clipboard

Permission is OK, but GPS hardware is disabled.

Link copied to clipboard

Status could not be determined.