-
- All Implemented Interfaces:
-
com.polidea.rxandroidble2.internal.operations.Operation,java.lang.Comparable
public abstract class QueueOperation<T> implements Operation<T>
-
-
Method Summary
Modifier and Type Method Description final Observable<T>run(QueueReleaseInterface queueReleaseInterface)A function that returns this operation as an Observable.When the returned observable is subscribed, this operation will be scheduledto be run on the main thread. PrioritydefinedPriority()A function returning the priority of this operation intcompareTo(@NonNull() Operation another)The function for determining which position in Bluetooth Radio's Priority Blocking Queuethis operation should take -
-
Method Detail
-
run
final Observable<T> run(QueueReleaseInterface queueReleaseInterface)
A function that returns this operation as an Observable.When the returned observable is subscribed, this operation will be scheduledto be run on the main thread. When appropriate the call to run() will be executed.This operation is expected to call releaseRadio() at appropriate point after the run() was called.
-
definedPriority
Priority definedPriority()
A function returning the priority of this operation
-
-
-
-