Enum Class EOS_EFriendsStatus

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

public enum EOS_EFriendsStatus extends Enum<EOS_EFriendsStatus> implements com.sun.jna.NativeMapped
An enumeration of the different friendship statuses.
Since:
8/20/2023
  • Enum Constant Details

    • EOS_FS_NotFriends

      public static final EOS_EFriendsStatus EOS_FS_NotFriends
      The two accounts have no friendship status
    • EOS_FS_InviteSent

      public static final EOS_EFriendsStatus EOS_FS_InviteSent
      The local account has sent a friend invite to the other account
    • EOS_FS_InviteReceived

      public static final EOS_EFriendsStatus EOS_FS_InviteReceived
      The other account has sent a friend invite to the local account
    • EOS_FS_Friends

      public static final EOS_EFriendsStatus EOS_FS_Friends
      The accounts have accepted friendship
  • Method Details

    • values

      public static EOS_EFriendsStatus[] 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_EFriendsStatus 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
    • fromId

      public static EOS_EFriendsStatus fromId(Integer id)
    • 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