the ContentType {enum the TEXT (0), the text // PIC (1), // Image AUDIO (2), // audio VIDEO (3), // video FILE (11), // File USER_INVITATION (15), // friend invite AUDIO_FREQUENCY (19), // audio ; int type;
the ContentType (int type) { this.type = type; }
public int getType () { return type; }
public static Convert the ContentType (int type) { for (the ContentType C : ContentType.values ()) { IF (c.getType () type ==) { return C; } } return null; }
} |