---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/games/doc/en/sdk/sdk-params.md
  - https://yandex.com/dev/games/doc/hi/sdk/sdk-params.md
  - https://yandex.com/dev/games/doc/ko/sdk/sdk-params.md
  - https://yandex.com/dev/games/doc/ru/sdk/sdk-params.md
  - https://yandex.com/dev/games/doc/tr/sdk/sdk-params.md
  - https://yandex.com/dev/games/doc/vi/sdk/sdk-params.md
  - https://yandex.com/dev/games/doc/zh/sdk/sdk-params.md
  - href: en/sdk/sdk-params.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/games/doc/en/llms.txt

# Other SDK objects and parameters

<!-- source: en/_includes/script-common.md -->
<!-- source: en/_includes/script/index-js.md -->

<!-- endsource: en/_includes/script/index-js.md -->

<!-- source: en/_includes/script/requirements-js.md -->

<!-- endsource: en/_includes/script/requirements-js.md -->

<!-- source: en/_includes/script/image-modal-js.md -->

<!-- endsource: en/_includes/script/image-modal-js.md -->
<!-- endsource: en/_includes/script-common.md -->


## The screen.fullscreen object {#screen-fullscreen}

Use this object for working with fullscreen browser mode.


#|
|| **Parameter** | **Type** | **Description** ||
|| `STATUS_ON` | `string` | The constant `"on"`. ||
|| `STATUS_OFF` | `string` | The constant `"off"`. ||
|| `status` | `string` | The current status `STATUS_ON` or `STATUS_OFF`. ||
|| `request` | `Promise<void>` | The request to enable fullscreen mode. ||
|| `exit` | `Promise<void>` | The request to exit fullscreen mode. ||
|#


{% note alert %}

Yandex Games can automatically start in fullscreen mode, but many browsers prohibit switching modes without a user command.

Yandex Games already has a button in the upper-right corner for switching to full screen, so use the `screen.fullscreen` object parameters to handle button clicks directly in the game.

{% endnote %}



## clipboard object {#clipboard}

Use the `ysdk.clipboard.writeText(text)` method of this object for writing a text string to the clipboard.


## deviceInfo object {#deviceinfo}

Use the `ysdk.deviceInfo()` method of this object to get information about the user's device.

In the `type` field, the `"desktop"` string is returned for a computer, `"mobile"` for a mobile device, `"tablet"` for a tablet, or `"tv"` for a TV, as well as all the methods with one of the values.


#|
|| **Method** | **Description** ||
|| `isMobile()` | Checks the user's device and returns:
* `true`: Mobile device
* `false`: Other device ||
|| `isDesktop()` | Checks the user's device and returns:
* `true`: Computer
* `false` — another device. ||
|| `isTablet()` | Checks the user's device and returns:
* `true`: Tablet
* `false`: Other device ||
|| `isTV()` | Checks the user's device and returns:
* `true`: TV
* `false`: Other device ||
|#



---

<!-- source: en/_includes/sdk-support.md -->
{% note info %}

Our support team can help publish finished games on Yandex Games. If you have any questions about development or testing, ask them in the [Discord channel](https://discord.com/invite/wU4p3whr4T){.external}.

{% endnote %}

If you are facing an issue or have a question regarding the use of Yandex Games SDK, please contact support:

<!-- source: en/_includes/button-chat.md -->
<a href="https://yandex.com/chat/#/user/a4fa5c06-75db-9b38-6eea-b1673785f7d5">
  <span class="button">Write to chat</span>
</a>
<!-- endsource: en/_includes/button-chat.md -->
<!-- endsource: en/_includes/sdk-support.md -->
