Enum BetaDreamStatus.Value

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum BetaDreamStatus.Value
    extends Enum<BetaDreamStatus.Value>
                        

    An enum containing BetaDreamStatus's known values, as well as an _UNKNOWN member.

    An instance of BetaDreamStatus can contain an unknown value in a couple of cases:

    • It was deserialized from data that doesn't match any known member. For example, if the SDK is on an older version than the API, then the API may respond with new members that the SDK is unaware of.

    • It was constructed with an arbitrary value using the of method.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      PENDING

      The dream is waiting to start and hasn't read its inputs yet.

      outputs is empty and every usage count is zero.

      RUNNING

      The dream is reading its inputs and writing its result.

      usage updates while the dream has this status.

      COMPLETED

      The dream finished and its output memory store holds the complete result.

      FAILED

      The dream stopped with an error, which error describes.

      If outputs references a memory store, that memory store keeps what the dream wrote before it stopped.

      CANCELED

      A cancel request stopped the dream before it reached completed or failed.

      If outputs references a memory store, that memory store keeps what the dream wrote. usage can keep changing after the cancel.

      _UNKNOWN

      An enum member indicating that BetaDreamStatus was instantiated with an unknown value.

    • Method Summary

      Modifier and Type Method Description
      final Array<BetaDreamStatus.Value> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final BetaDreamStatus.Value valueOf(String value) Returns the enum constant of this type with the specified name.
      final EnumEntries<BetaDreamStatus.Value> getEntries()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

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