Format

enum Format : ProtocolMessageEnum
Enumerates semantic metadata formats that are supported for rendering into the page.
Protobuf enum elide.page.Format

Entries

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

Properties

Link copied to clipboard
Specifies generic metadata tags as a metadata format.
GENERIC = 0;
Link copied to clipboard
Specifies JSON-LD as a metadata format.
JSON_LD = 2;
Link copied to clipboard
Specifies OpenGraph tags as a metadata format.
OPENGRAPH = 1;

Functions

Link copied to clipboard
open fun forNumber(value: Int): Format
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<Format>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): Format
open fun valueOf(value: Int): Format

open fun valueOf(name: String): Format

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
open fun values(): Array<Format>

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.