Skip to main content

Class: MetadataFeature

A Metadata feature.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new MetadataFeature(data)

Parameters

NameTypeDescription
datastringThe metadata stored with the feature.

Overrides

Feature.constructor

Properties

type

Readonly type: FeatureType

Inherited from

Feature.type


data

Readonly data: string

Defines metadata (arbitrary binary data) that will be stored in the output.

Methods

getType

getType(): FeatureType

Get the type of feature.

Returns

FeatureType

Inherited from

Feature.getType


getData

getData(): string

Get the metadata.

Returns

string