Class StytchResult.Success

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class StytchResult.Success<T extends Object>
    extends StytchResult<T>
                        

    Data class that can hold a successful response from a Stytch endpoint

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final T value
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final T getValue() is the value of the response
      • Methods inherited from class java.lang.Object

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

      • StytchResult.Success

        StytchResult.Success(T value)
    • Method Detail

      • getValue

         final T getValue()

        is the value of the response