FriendAddPermission

public enum FriendAddPermission extends Enum<FriendAddPermission>

Friend add permission settings.

Controls whether other users can add the current user as a friend.

Parameters

value

Permission integer value

Entries

Link copied to clipboard

Anyone can add as friend directly

Link copied to clipboard

Requires approval before adding as friend

Link copied to clipboard

No one is allowed to add as friend

Types

Link copied to clipboard
public class Companion

Properties

Link copied to clipboard
private final Integer value

Inherited properties

Link copied to clipboard
private final String name
Link copied to clipboard
private final Integer ordinal

Functions

Link copied to clipboard
public final Integer getValue()
Link copied to clipboard
public final FriendAddPermission valueOf(String value)

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.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Inherited functions

Link copied to clipboard
public final String getName()
Link copied to clipboard
public final Integer getOrdinal()