Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
DeviceType
The DeviceType enum is used to determine the category of devices that a client belongs to.
Items
| Name | Value | Description |
|---|---|---|
| Unknown | 0 | The client is an unknown device. |
| Desktop | 1 | The client is a desktop device. |
| Tablet | 2 | The client is a tablet device. |
| Phone | 3 | The client is a phone device. |
| TV | 4 | The client is a TV device. |
Unknown
The client is an unknown device.
| Field | Value |
|---|---|
| value | 0 |
Desktop
The client is a desktop device.
| Field | Value |
|---|---|
| value | 1 |
Tablet
The client is a tablet device.
| Field | Value |
|---|---|
| value | 2 |
Phone
The client is a phone device.
| Field | Value |
|---|---|
| value | 3 |
TV
The client is a TV device.
| Field | Value |
|---|---|
| value | 4 |