facebook4j
Enum ReactionType

java.lang.Object
  extended by java.lang.Enum<ReactionType>
      extended by facebook4j.ReactionType
All Implemented Interfaces:
Serializable, Comparable<ReactionType>

public enum ReactionType
extends Enum<ReactionType>

An enum represents the reaction types.

Since:
2.4.4
Author:
Ryuji Yamashita - roundrop at gmail.com

Enum Constant Summary
ANGRY
           
HAHA
           
LIKE
           
LOVE
           
NONE
           
PRIDE
           
SAD
           
THANKFUL
           
WOW
           
 
Method Summary
static ReactionType of(String reactionTypeString)
           
static ReactionType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReactionType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final ReactionType NONE

LIKE

public static final ReactionType LIKE

LOVE

public static final ReactionType LOVE

WOW

public static final ReactionType WOW

HAHA

public static final ReactionType HAHA

SAD

public static final ReactionType SAD

ANGRY

public static final ReactionType ANGRY

THANKFUL

public static final ReactionType THANKFUL

PRIDE

public static final ReactionType PRIDE
Method Detail

values

public static ReactionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ReactionType c : ReactionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ReactionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

of

public static ReactionType of(String reactionTypeString)


Copyright © 2019. All rights reserved.