# Device

> Interface into tvOS specific functionality.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine.tvOS](/engine/6000.6/script-reference/unityengine/tvos.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public sealed class Device
```

## Static Properties

| Property                                                                                                            | Description                                                        |
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| [advertisingIdentifier](/engine/6000.6/script-reference/unityengine/tvos/device/advertisingidentifier.md)           | The device advertising ID (IDFA) for ad attribution and analytics. |
| [advertisingTrackingEnabled](/engine/6000.6/script-reference/unityengine/tvos/device/advertisingtrackingenabled.md) | Is advertising tracking enabled.                                   |
| [generation](/engine/6000.6/script-reference/unityengine/tvos/device/generation.md)                                 | The generation of the device. (Read Only)                          |
| [runsOnSimulator](/engine/6000.6/script-reference/unityengine/tvos/device/runsonsimulator.md)                       | Returns true if the process is a tvOS app running on a Simulator.  |
| [systemVersion](/engine/6000.6/script-reference/unityengine/tvos/device/systemversion.md)                           | tvOS version.                                                      |
| [vendorIdentifier](/engine/6000.6/script-reference/unityengine/tvos/device/vendoridentifier.md)                     | Vendor ID.                                                         |

## Static Methods

| Method                                                                                            | Description                                                                                                                    |
| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| [ResetNoBackupFlag](/engine/6000.6/script-reference/unityengine/tvos/device/resetnobackupflag.md) | Reset "no backup" file flag: file will be synced with iCloud/iTunes backup and can be deleted by OS in low storage situations. |
| [SetNoBackupFlag](/engine/6000.6/script-reference/unityengine/tvos/device/setnobackupflag.md)     | Set file flag to be excluded from iCloud/iTunes backup.                                                                        |
