public interface SyncEventSubscriptionApiOp extends APIOperation
NO_TIMEOUT| Modifier and Type | Method and Description |
|---|---|
Subscription |
subscribe(ObjectClass objectClass,
SyncToken token,
Observer<SyncDelta> handler,
OperationOptions operationOptions)
Create a subscription to a given sync topic.
|
Subscription subscribe(ObjectClass objectClass, SyncToken token, Observer<SyncDelta> handler, OperationOptions operationOptions)
objectClass - handler - the Observer that will handle emissions and notifications from
the ObservableoperationOptions - Subscription reference with which the Observer
can stop receiving items before the Observable has completedRuntimeException - when the operation failed to create subscription.Copyright © 2018–2025. All rights reserved.