# enableHighPerfGaming

Source: [https://docs.qualcomm.com/doc/80-PK177-134/topic/enable_high_perf_gaming.html](https://docs.qualcomm.com/doc/80-PK177-134/topic/enable_high_perf_gaming.html)

Enables or disables high performance gaming.

    enableHighPerformanceGaming()Copy to clipboard

## Parameters

| Parameter | API type | Data type | Description |
| --- | --- | --- | --- |
| enable | Java | boolean | Boolean to enable or disable high performance gaming. |
| enable | Native | bool | Boolean to enable or disable high performance gaming. |
| ret | Native | int8\_t& | On success this is the actual return value from the API.<br><br><br>                <br><ul class="ul"><br>                    <li class="li">1: Success</li><br><br>                    <li class="li">-1: Iqesdk is NULL</li><br><br>                    <li class="li">-2: Subsystem error</li><br><br>                  </ul> |
|  |  |  |  |

## Returns

| **Return** | **API type** | **Data type** | **Description** |
| --- | --- | --- | --- |
| response | Java | int | <ul class="ul" id="concept.dita_1593340f-1ef4-43d4-a19a-4a94544e06d1__ul_sy1_t4x_vyb_spyrz_09-20-23-1542-23-993"><br>                  <li class="li">1: Success</li><br><br>                  <li class="li">-1: Iqesdk is NULL</li><br><br>                  <li class="li">-2: Subsystem error</li><br><br>                </ul> |
| response | Native | qesdk\_transaction\_status | See [QESDK transaction status for Native APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/native_qesdk_class.html) for usage details. Use qesdk\_transaction\_status to confirm API call invocation. If successful, use the `ret` value for the actual API return value object. |
|  |  |  |  |

Note: 
      
- This feature is not available for commercial use. It is intended to solicit early customer evaluation and feedback.
- Applications need to disable high performance immediately when it is no longer required. This API will disable all non-DDS calls.
- Applications must have the com.qualcomm.qti.qesdk.permission.CALL\_CONTROL\_SECONDARY\_DND permission to access this API.
          Add the following `uses-permission` line in the manifest file.

        <uses-permission android:name="com.qualcomm.qti.qesdk.permission.CALL_CONTROL_SECONDARY_DND"/>Copy to clipboard

**Parent Topic:** [LLM subsystem APIs](https://docs.qualcomm.com/doc/80-PK177-134/topic/llm_functions.html)

Last Published: Nov 14, 2024

[Previous Topic
updatePdcpTimerForDds](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/update_pdcp_timer_for_dds.md) [Next Topic
prioritizeDataPerSubscription](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134/topics/prioritize_data_per_subscription.md)