LocationRequestChecker

class LocationRequestChecker(    request: LocationRequest,     activity: ComponentActivity,     gapi: GoogleApiAvailability = GoogleApiAvailability())

Utility class for handling all location related access, settings, and permissions

Constructors

Link copied to clipboard
fun LocationRequestChecker(    request: LocationRequest,     activity: ComponentActivity,     gapi: GoogleApiAvailability = GoogleApiAvailability())

Functions

Link copied to clipboard
suspend fun verify(handler: (LocationCheck) -> Unit)

Verifies if the location request can be fulfilled and calls the handler after evaluation.