Skip to content

Commit

Permalink
timob-23802 updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
fmerzadyan committed Dec 22, 2016
1 parent 7df6a43 commit 69ac9ba
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions apidoc/Titanium/UI/Window.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,6 @@ since: "0.9"
excludes: { methods:[removeAllChildren] }

methods:
- name: getSustainedPerformanceMode
summary: returns sustainedPerformanceMode property
returns:
type: Boolean
since: "6.1.0"
platforms: [android]

- name: setSustainedPerformanceMode
summary: sets sustainedPerformanceMode property
parameters:
- name: mode
summary: true to enable sustained performance mode
type: Boolean
since: "6.1.0"
platforms: [android]

- name: addSharedElement
summary: Adds a common UI element to participate in window transition animation.
Expand Down Expand Up @@ -816,9 +801,13 @@ properties:
platforms: [iphone,ipad]

- name: sustainedPerformanceMode
summary: Maintain a sustainable level of performance
summary: Maintain a sustainable level of performance.
description: |
Performance can fluctuate dramatically for long-running apps, because the system throttles system-on-chip engines as device components reach their temperature limits. This fluctuation presents a moving target for app developers creating high-performance, long-running apps. Setting this feature to true will set sustained performance mode for the corresponding window. If property is undefined then it defaults to false. IMPORTANT NOTE: feature is only available on supported devices and awaiting for further API development by Google. See [Android docs](https://developer.android.com/about/versions/nougat/android-7.0.html#sustained_performance_api) for further info.
Performance can fluctuate dramatically for long-running apps, because the system throttles system-on-chip engines as device components reach their temperature limits. This fluctuation presents a moving target for app developers creating high-performance, long-running apps.
Setting this feature to true will set sustained performance mode for the corresponding window. If property is undefined then it defaults to false.
Note: feature is only available on supported devices and functionality is experimental and subject to change in future releases. See [Android docs](https://developer.android.com/about/versions/nougat/android-7.0.html#sustained_performance_api) and [Google VR docs](https://developers.google.com/vr/android/ndk/jni/reference/com/google/vr/ndk/base/AndroidCompat.html#setSustainedPerformanceMode(Activity, boolean)) for further info.
type: Boolean
since: "6.1.0"
platforms: [android]
Expand Down

0 comments on commit 69ac9ba

Please sign in to comment.