> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/device/deviceos.md).

# deviceOS

## Description

Retrieves the operating system of a device.

## Input / Parameter

N/A

## Output

N/A

## Callback

N/A

## Video

Coming Soon.

## Example

The user wants to display the device operating system in a dialog modal.

### Steps

| No. | Description                      |                                                                                                                                                                                                                                                          |
| --- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1.  | ![](/files/gVV0ISD63v9vurP0pNty) | Drag a button to a page in the mobile designer. Select the event `click` for the button and drag the `infoDialog` function to the event flow. Fill in the parameters of the function. For the parameter `content`, select the parameter type `function`. |
| 2.  | ![](/files/3Y9Y1jfWWZ5zyWG3Qyg9) | Drag the `deviceOS` function to the node in the subflow for the `content` parameter.                                                                                                                                                                     |

### Result

When the button is pressed, the infoDialog will appear to show the device operating system.

## Links
