Package 

Class Event


  • 
    public class Event<T extends Object>
    
                        

    Used as a wrapper for data that is exposed via a LiveData that represents an event.

    • Constructor Summary

      Constructors 
      Constructor Description
      Event(T content)
    • Method Summary

      Modifier and Type Method Description
      final T getContentIfNotHandled() Returns the content and prevents its use again.
      final T peekContent() Returns the content, even if it's already been handled.
      final Boolean getHasBeenHandled()
      final Unit setHasBeenHandled(Boolean hasBeenHandled)
      • Methods inherited from class io.getstream.chat.android.livedata.utils.Event

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

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