GraffitiMediaDevice

View Categories

Enumerations #

NameValues
DeviceTypesVideoInput
AudioInput

Constants #

This object exposes no constants.

Events #

This object exposes no events.

Methods #

NameParametersReturn TypeDescription
Constructorid as String

label as String

type as DeviceTypes = DeviceTypes.VideoInput
NoneCreates a new instance of the class.

Properties #

NameTypeDefault ValueDescription
IDStringEmptyDevice ID returned by the user’s browser.
NameStringEmptyName defined by the user’s browser. In insecure contexts, if a device is returned at all, this may be a generic name or have no value.
TypeDeviceTypesVideoInputThe type of device this class instance represents.