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

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.