-
- All Implemented Interfaces:
-
io.reactivex.ObservableSource
public class LocationServicesOkObservable extends Observable<Boolean>
An Observable that emits false if an attempt to scan with scanBleDevices would cause the exception LOCATION_SERVICES_DISABLED; otherwise emits true. Always emits true in Android versions prior to 6.0. Typically, receiving false should cause the user to be prompted to enable Location Services.
-
-
Method Summary
Modifier and Type Method Description static LocationServicesOkObservablecreateInstance(@NonNull() Context context)-
Methods inherited from class io.reactivex.Observable
all, amb, ambArray, ambWith, any, as, blockingFirst, blockingForEach, blockingIterable, blockingLast, blockingLatest, blockingMostRecent, blockingNext, blockingSingle, blockingSubscribe, buffer, buffer, bufferSize, cache, cacheWithInitialCapacity, cast, collect, collectInto, combineLatest, combineLatestDelayError, compose, concat, concatArray, concatArrayDelayError, concatArrayEager, concatArrayEagerDelayError, concatDelayError, concatEager, concatMap, concatMapCompletable, concatMapCompletableDelayError, concatMapDelayError, concatMapEager, concatMapEagerDelayError, concatMapIterable, concatMapMaybe, concatMapMaybeDelayError, concatMapSingle, concatMapSingleDelayError, concatWith, contains, count, create, debounce, defaultIfEmpty, defer, delay, delaySubscription, dematerialize, dematerialize, distinct, distinctUntilChanged, doAfterNext, doAfterTerminate, doFinally, doOnComplete, doOnDispose, doOnEach, doOnError, doOnLifecycle, doOnNext, doOnSubscribe, doOnTerminate, elementAt, elementAt, elementAtOrError, empty, error, filter, first, firstElement, firstOrError, flatMap, flatMapCompletable, flatMapIterable, flatMapIterable, flatMapMaybe, flatMapSingle, forEach, forEachWhile, fromArray, fromCallable, fromFuture, fromIterable, fromPublisher, generate, groupBy, groupBy, groupJoin, hide, ignoreElements, interval, intervalRange, isEmpty, join, just, last, lastElement, lastOrError, lift, map, materialize, merge, mergeArray, mergeArrayDelayError, mergeDelayError, mergeWith, never, observeOn, ofType, onErrorResumeNext, onErrorReturn, onErrorReturnItem, onExceptionResumeNext, onTerminateDetach, publish, publish, range, rangeLong, reduce, reduce, reduceWith, repeat, repeatUntil, repeatWhen, replay, replay, retry, retryUntil, retryWhen, safeSubscribe, sample, scan, scan, scanWith, sequenceEqual, serialize, share, single, singleElement, singleOrError, skip, skipLast, skipUntil, skipWhile, sorted, startWith, startWithArray, subscribe, subscribe, subscribeOn, subscribeWith, switchIfEmpty, switchMap, switchMapCompletable, switchMapCompletableDelayError, switchMapDelayError, switchMapMaybe, switchMapMaybeDelayError, switchMapSingle, switchMapSingleDelayError, switchOnNext, switchOnNextDelayError, take, takeLast, takeUntil, takeWhile, test, throttleFirst, throttleLast, throttleLatest, throttleWithTimeout, timeInterval, timeout, timer, timestamp, to, toFlowable, toFuture, toList, toList, toMap, toMap, toMultimap, toMultimap, toSortedList, unsafeCreate, unsubscribeOn, using, window, withLatestFrom, wrap, zip, zipArray, zipIterable, zipWith -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
createInstance
static LocationServicesOkObservable createInstance(@NonNull() Context context)
-
-
-
-