# GraffitiMediaDevice
Class
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| DeviceTypes | VideoInput <br > AudioInput | Supported device types. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | id as String <br> label as String <br> type as DeviceTypes = DeviceTypes.VideoInput | (None) | Creates a new instance of the class. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| ID | String | (None) | Device ID returned by the user's browser. |
| Name | String | (None) | Name 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. |
| Type | DeviceTypes | (None) | The type of device this class instance represents. |