Package 

Class MessagingResult


  • 
    public class MessagingResult<T extends Object>
    
                        

    A discriminated union that encapsulates a successful outcome with a value of type T or a failure with a message and an arbitrary Throwable cause.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class Success

      A successful outcome with a value of type T.

      public final class Failure

      A failure outcome with a message and an optional arbitrary Throwable cause.

    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class zendesk.messaging.android.MessagingResult

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

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