MediaType

public enum MediaType

文件类型枚举。

Entries

Link copied to clipboard

图片。

Link copied to clipboard

声音。

Link copied to clipboard

视频。

Link copied to clipboard

通用文件。

Properties

Link copied to clipboard
public int value

Functions

Link copied to clipboard
public int getValue()
获取文件类型的值。
Link copied to clipboard
public static IRongCoreEnum.MediaType setValue(int code)
设置文件类型。
Link copied to clipboard
public static IRongCoreEnum.MediaType 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.