Interface LiveSyncOp

    • Method Detail

      • livesync

        void livesync​(ObjectClass objectClass,
                      LiveSyncResultsHandler handler,
                      OperationOptions options)
        Request synchronization events--i.e., native changes to target objects.

        This method will call the specified handler once to pass back each matching synchronization event. Once this method returns, this method will no longer invoke the specified handler.

        Parameters:
        objectClass - The class of object for which to return synchronization events. Must not be null.
        handler - The result handler. Must not be null.
        options - Options that affect the way this operation is run. If the caller passes null, the framework will convert this into an empty set of options, so an implementation need not guard against this being null.
        Throws:
        IllegalArgumentException - if objectClass or handler is null or if any argument is invalid.