MediaType

public enum MediaType

File type enumeration.

Entries

Link copied to clipboard

Image.

Link copied to clipboard

Sound.

Link copied to clipboard

Video.

Link copied to clipboard

General File.

Properties

Link copied to clipboard
public int value

Functions

Link copied to clipboard
public int getValue()
Retrieves the value of the file type.
Link copied to clipboard
public static RongIMClient.MediaType setValue(int code)
Sets the file type.
Link copied to clipboard
public static RongIMClient.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.