Svrf API Docs

Enums

The Svrf library offers enum support so you don't have to remember our enums values for categories, stereoscopic types, and media types. You can access them with the static enums property.

category

Enums for categories available to explore on Svrf.

Syntax

Svrf.enums.category.FACE_FILTERS

Properties

NameTypeValue
FACE_FILTERSstring"Face Filters"

mediaType

Enums for the types of media available on Svrf.

Deprecated

360 photos and 360 videos are no longer supported on Svrf.

Syntax

Svrf.enums.mediaType.PHOTO
Svrf.enums.mediaType.VIDEO
Svrf.enums.mediaType.MODEL_3D

Properties

NameTypeValue
PHOTOstring"photo"
VIDEOstring"video"
MODEL_3Dstring"3d"

stereoscopicType

Deprecated

Stereoscopic 360 photos and 360 videos are no longer supported on Svrf.

Enums for stereoscopic types.

This enum can be used to request a specific stereoscopic format for 360º media, set the stereoscopicType to none, top-bottom, or left-right. The none option will return only monoscopic content. Omitting it will return all monoscopic and stereoscopic 360º media.

Syntax

Svrf.enums.stereoscopicType.NONE
Svrf.enums.stereoscopicType.TOP_BOTTOM
Svrf.enums.stereoscopicType.LEFT_RIGHT

Properties

NameTypeValue
NONEstring"none"
TOP_BOTTOMstring"top-bottom"
LEFT_RIGHTstring"left-right"