tripkit-android / com.skedgo.tripkit.ui.tripresult / IsLocationPermissionGranted

IsLocationPermissionGranted

open class IsLocationPermissionGranted

Constructors

Name Summary
<init> IsLocationPermissionGranted(context: Context)

Properties

Name Summary
context val context: Context

Functions

Name Summary
invoke Checks if given permission is granted or not. If it's granted, the returned signal will emit true & complete. Otherwise, waits until the permission is granted later. Once it's granted, it will emit true but never complete.open operator fun invoke(): Observable<Boolean>