Class SyncQuery


  • public class SyncQuery
    extends java.lang.Object
    Represents a query to the Sync API.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SynchronizedSpace fetch()
      Invokes the request to sync (blocking).
      <C extends CDACallback<SynchronizedSpace>>
      C
      fetch​(C callback)
      Invokes the request to sync (asynchronously) with the provided callback.
      io.reactivex.rxjava3.core.Flowable<SynchronizedSpace> observe()
      Returns an Flowable to which one can subscribe in order to fulfill this sync query.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • observe

        public io.reactivex.rxjava3.core.Flowable<SynchronizedSpace> observe()
        Returns an Flowable to which one can subscribe in order to fulfill this sync query.
        Returns:
        Flowable instance.
      • fetch

        public <C extends CDACallback<SynchronizedSpace>> C fetch​(C callback)
        Invokes the request to sync (asynchronously) with the provided callback.
        Type Parameters:
        C - callback type.
        Parameters:
        callback - callback.
        Returns:
        the given callback instance.