# enableHighPerfGaming

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

启用或禁用高性能游戏。

    enableHighPerfGaming()Copy to clipboard

## 参数

| 参数 | 说明 | 说明 | 说明 |
| --- | --- | --- | --- |
| enable | Java | boolean | 用于启用或禁用高性能游戏的布尔值。 |
| enable | 原生 | bool | 用于启用或禁用高性能游戏的布尔值。 |
|  |  |  |  |

## 返回结果

| API 类型 | 返回结果 | 说明 |
| --- | --- | --- |
| Java | int | <ul class="ul" id="concept.dita_1593340f-1ef4-43d4-a19a-4a94544e06d1__ul_ozj_5px_m5b"><br>                  <li class="li">SUCCESS ≥ 0</li><br><br>                  <li class="li">FAILURE<ul class="ul"><br>                      <li class="li">-1 Iqesdk 为 NULL</li><br><br>                      <li class="li">-2 子系统错误</li><br><br>                    </ul><br><br>                  </li><br><br>                </ul> |
| 原生 | int8\_t | <ul class="ul" id="concept.dita_1593340f-1ef4-43d4-a19a-4a94544e06d1__ul_ozj_5px_m5b"><br>                  <li class="li">SUCCESS ≥ 0</li><br><br>                  <li class="li">FAILURE<ul class="ul"><br>                      <li class="li">-1 Iqesdk 为 NULL</li><br><br>                      <li class="li">-2 子系统错误</li><br><br>                    </ul><br><br>                  </li><br><br>                </ul> |
|  |  |  |

Note: 
      
- 此功能不可用于商业用途。其主要用于征集早期客户的评估和反馈。
- 如果不再需要高性能，应用程序需要立即将其禁用。此 API 将禁用所有非 DDS 调用。

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

Last Published: Jun 22, 2023

[Previous Topic
updatePdcpTimerForDds](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/update_pdcp_timer_for_dds.md) [Next Topic
LLM 回调接口](https://docs.qualcomm.com/bundle/publicresource/80-PK177-134Y/topics/llm_callback_interfaces.md)