Class AbstractRoot.DelegateConfiguration

    • Method Detail

      • pollInBackground

        public AbstractRoot.DelegateConfiguration pollInBackground()
        Whether to poll for incoming calls in another thread in-between calls to update. Default is disabled.

        Background polling will use the original root thread or executor.

        Returns:
        this for chaining
      • forceUpdateAfter

        public AbstractRoot.DelegateConfiguration forceUpdateAfter​(long time,
                                                                   TimeUnit unit)
        Whether to force an update on another thread if the delegate hasn't called update in the given time period. Default is disabled.

        Forced updates will use the original root thread or executor.

        Parameters:
        time - maximum time period before update will be forced
        unit - unit of time argument
        Returns:
        this for chaining