Device API
The Device API allows the UI Extension to retrieve device information including the device name and ID.
Name | Type | Description |
---|---|---|
name | string |
Name of the device (e.g. iPhone 14 Pro). |
getDeviceId() | Promise<string> |
Get the device ID. |
isTablet() | Promise<boolean> |
Get whether the device is a tablet. |