DocumentType

enum DocumentType : ProtocolMessageEnum
Enumerates common types of digital documents.
Protobuf enum elide.page.MediaAsset.Document.DocumentType

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
Default: generic document type.
GENERIC_DOCUMENT = 0;
Link copied to clipboard
val PDF_VALUE: Int = 6
Portable Document Format.
PDF = 6;
Link copied to clipboard
Comma Separated Values in text format.
TEXT_CSV = 5;
Link copied to clipboard
HTML-formatted document.
TEXT_HTML = 4;
Link copied to clipboard
Markdown-formatted document.
TEXT_MARKDOWN = 3;
Link copied to clipboard
Plain text document.
TEXT_PLAIN = 1;
Link copied to clipboard
Rich text document.
TEXT_RICH = 2;
Link copied to clipboard
Word (old format, extension `.doc`).
WORD_DOC = 7;
Link copied to clipboard
Word (new format, extension `.docx`).
WORD_DOCX = 8;

Functions

Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<MediaAsset.Document.DocumentType>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): MediaAsset.Document.DocumentType

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.