Enum Class EOS_Presence_EStatus

java.lang.Object
java.lang.Enum<EOS_Presence_EStatus>
host.anzo.eossdk.eos.sdk.presence.enums.EOS_Presence_EStatus
All Implemented Interfaces:
com.sun.jna.NativeMapped, Serializable, Comparable<EOS_Presence_EStatus>, Constable

public enum EOS_Presence_EStatus extends Enum<EOS_Presence_EStatus> implements com.sun.jna.NativeMapped
Presence Status states of a user
Since:
8/22/2023
See Also:
  • Enum Constant Details

    • EOS_PS_Offline

      public static final EOS_Presence_EStatus EOS_PS_Offline
      The status of the account is offline or not known
    • EOS_PS_Online

      public static final EOS_Presence_EStatus EOS_PS_Online
      The status of the account is online
    • EOS_PS_Away

      public static final EOS_Presence_EStatus EOS_PS_Away
      The status of the account is away
    • EOS_PS_ExtendedAway

      public static final EOS_Presence_EStatus EOS_PS_ExtendedAway
      The status of the account is away, and has been away for a while
    • EOS_PS_DoNotDisturb

      public static final EOS_Presence_EStatus EOS_PS_DoNotDisturb
      The status of the account is do-not-disturb
  • Method Details

    • values

      public static EOS_Presence_EStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EOS_Presence_EStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromNative

      public Object fromNative(Object nativeValue, com.sun.jna.FromNativeContext context)
      Specified by:
      fromNative in interface com.sun.jna.NativeMapped
    • toNative

      public Object toNative()
      Specified by:
      toNative in interface com.sun.jna.NativeMapped
    • nativeType

      public Class<?> nativeType()
      Specified by:
      nativeType in interface com.sun.jna.NativeMapped