Content

Show Deprecated

The Content data type represents a reference to asset content stored externally or as an object within the place, wrapping a single value of one of the supported Enum.ContentSourceType values.

Summary

Constructors

Properties

Constructors

fromUri

Parameters

uri: string

fromObject

Parameters

object: Object

Properties

An empty Content value with Content.SourceType of None.

The source type of the contained value. Indicates which property contains a non‑nil value.

A URI string if Content.SourceType is Uri, otherwise nil.

Object

A reference to a non-nil Object if Content.SourceType is Object, otherwise nil.