PublicServiceType

public enum PublicServiceType

公众服务类型枚举。

Entries

Link copied to clipboard

应用公众服务。

Link copied to clipboard

公共服务号。

Properties

Link copied to clipboard
public final String name
Link copied to clipboard
public final int value

Functions

Link copied to clipboard
public String getName()
获取公众服务类型名称。
Link copied to clipboard
public int getValue()
获取公众服务类型的值。
Link copied to clipboard
public static Conversation.PublicServiceType setValue(int code)
设置公众服务类型。
Link copied to clipboard
public static Conversation.PublicServiceType 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.)

Link copied to clipboard

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.