# PublicServiceType

public enum PublicServiceType

公众服务类型枚举。

## Entries

APP_PUBLIC_SERVICE
Link copied to clipboard
APP_PUBLIC_SERVICE

应用公众服务。

PUBLIC_SERVICE
Link copied to clipboard
PUBLIC_SERVICE

公共服务号。

## Properties

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

## Functions

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

values
Link copied to clipboard
public static Array<Conversation.PublicServiceType> 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.