# OperationType

public enum OperationType

## Entries

SUBSCRIBE
Link copied to clipboard
SUBSCRIBE
UNSUBSCRIBE
Link copied to clipboard
UNSUBSCRIBE

## Properties

type
Link copied to clipboard
public int type

## Functions

getType
Link copied to clipboard
public int getType()
valueOf
Link copied to clipboard
public static SubscribeEvent.OperationType valueOf(int type)
public static SubscribeEvent.OperationType 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.)

values
Link copied to clipboard
public static Array<SubscribeEvent.OperationType> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.