# FriendAddPermission

public enum FriendAddPermission

## Entries

Free
Link copied to clipboard
Free

任何人直接添加好友。

NeedVerify
Link copied to clipboard
NeedVerify

需要用户同意添加好友

NoOneAllowed
Link copied to clipboard
NoOneAllowed

不允许任何人添加好友

## Properties

value
Link copied to clipboard
public final int value

## Functions

getValue
Link copied to clipboard
public int getValue()
valueOf
Link copied to clipboard
public static FriendAddPermission valueOf(int value)
public static FriendAddPermission 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<FriendAddPermission> 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.