-
- All Implemented Interfaces:
-
io.reactivex.ObservableSource
public class RxBleAdapterStateObservable extends Observable<RxBleAdapterStateObservable.BleAdapterState>
Observes Bluetooth adapter state. This responds to user interactions as well as system controlled state changes.
NOTE: Make sure that this Observable is unsubscribed according to the Activity lifecycle. It internally uses BroadcastReceiver, so it is required that it us unregistered before onDestroy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRxBleAdapterStateObservable.BleAdapterState
-
Constructor Summary
Constructors Constructor Description RxBleAdapterStateObservable(Context context)
-
Method Summary
Modifier and Type Method Description -
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
-
-
Constructor Detail
-
RxBleAdapterStateObservable
RxBleAdapterStateObservable(Context context)
-
-
-
-