Package 

Class ConditionalWaitRequest

    • Method Summary

      Modifier and Type Method Description
      ConditionalWaitRequest<T> setHandler(@Nullable() Handler handler) Sets the handler that will be used to invoke callbacks.
      ConditionalWaitRequest<T> done(@NonNull() SuccessCallback callback) Use to set a completion callback.
      ConditionalWaitRequest<T> fail(@NonNull() FailCallback callback) Use to set a callback that will be called in case the request has failed.
      ConditionalWaitRequest<T> invalid(@NonNull() InvalidRequestCallback callback) Use to set a callback that will be called in case the request was invalid, for examplecalled before the device was connected.This callback will be ignored if request was executed synchronously, in which casethe error will be returned as an exception.
      ConditionalWaitRequest<T> before(@NonNull() BeforeCallback callback) Sets a callback that will be executed before the execution of this operation starts.
      ConditionalWaitRequest<T> then(@NonNull() AfterCallback callback) Sets a callback that will be executed when the request has been processed, no matterthe request result.
      ConditionalWaitRequest<T> negate() Negates the expected value of the predicate.
      • Methods inherited from class no.nordicsemi.android.ble.AwaitingRequest

        await, trigger
      • Methods inherited from class no.nordicsemi.android.ble.TimeoutableValueRequest

        await, await, await, timeout, with
      • Methods inherited from class no.nordicsemi.android.ble.TimeoutableRequest

        await, await, cancel, enqueue, enqueue, isCancelled, setHandler, timeout
      • Methods inherited from class no.nordicsemi.android.ble.Request

        before, createBond, done, fail, invalid, newConnectionPriorityRequest, newDisableBatteryLevelNotificationsRequest, newDisableIndicationsRequest, newDisableNotificationsRequest, newEnableBatteryLevelNotificationsRequest, newEnableIndicationsRequest, newEnableNotificationsRequest, newMtuRequest, newReadBatteryLevelRequest, newReadPhyRequest, newReadRequest, newReadRequest, newReadRssiRequest, newRefreshCacheRequest, newSetPreferredPhyRequest, newSleepRequest, newWaitForIndicationRequest, newWaitForNotificationRequest, newWriteRequest, newWriteRequest, newWriteRequest, newWriteRequest, newWriteRequest, newWriteRequest, removeBond, setHandler, then
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait