# States

### <mark style="color:purple;">Launch At Startup Is Enabled</mark>

Returns yes/no if the app is set to launch at system startup.

***

### <mark style="color:purple;">Deeplink URL Used</mark>

Returns what deeplink the user used. When a user clicks your app's deep link, it will launch your application if not already running. If so, this value may be populated on app start.\
\
It's also possible that the user clicked your deeplink while your app is running. In this case, the state will update.

***

### <mark style="color:purple;">Update Available</mark>

Returns yes/no if there is an update available. Note, this is only really needed if you have the auto-updater disabled.

***

### <mark style="color:purple;">Deskifier Version</mark>

Which version of Deskifier the application is currently running.

***

### <mark style="color:purple;">Distribution</mark>

Which distribution the app is currently running in. Can be `mas` (Mac App Store), `dmg` (Mac Installer), `appx` (Windows App Store), `nsis` (Windows Installer), `deb` (Linux)

***

### <mark style="color:purple;">Is Deskifier</mark>

Returns yes/no if the current page is running in a Deskifier application.

***

### <mark style="color:purple;">Dock Is Visible</mark>

Returns true / false if the application's dock icon is visible (macOS only)

***

### <mark style="color:purple;">Camera Access Status</mark>

Can be `not-determined`, `granted`, `denied`, `restricted` or `unknown`.

***

### <mark style="color:purple;">Microphone Access Status</mark>

Can be `not-determined`, `granted`, `denied`, `restricted` or `unknown`.

***

### <mark style="color:purple;">Microphone Access Status</mark>

Can be `not-determined`, `granted`, `denied`, `restricted` or `unknown`.

***

### <mark style="color:purple;">Notification Access Status</mark>

Can be `not-determined`, `granted`, `denied`, `restricted` or `unknown`. Will return `unknown` on platforms other than macOS.<br>

Return Value Descriptions:

* `not-determined` - The user has not yet made a choice regarding whether the application may access the data.
* `restricted` - The application is not authorized to access the data. The user cannot change this application’s status, possibly due to active restrictions such as parental controls being in place.
* `denied` - The user explicitly denied access to data for the application.
* `authorized` - The application is authorized to access the data.
* `provisional` - The application is provisionally authorized to access the data. Currently only applicable to the `notifications` type.
* `unknown` - The permission status can not be determined.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://deskifier.gitbook.io/deskifier/deskifier-bubble.io-docs/app-element/states.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
