/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.tripresult/IsLocationPermissionGranted
IsLocationPermissionGranted
\ open class IsLocationPermissionGranted(val context: Context)
Constructors
IsLocationPermissionGranted | constructor(context: Context) |
Properties
Name | Summary |
---|---|
context | val context: Context |
Functions
Name | Summary |
---|---|
invoke | open operator fun invoke(): Observable<Boolean> 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. |