1| Change Type | Old Version | New Version | d.ts File |
2| ---- | ------ | ------ | -------- |
3|Added|NA|Module name: ohos.display<br>Class name: display<br>Method or attribute name: function on(type: 'privateModeChange', callback: Callback\<boolean>): void;|@ohos.display.d.ts|
4|Added|NA|Class name: display<br>Method or attribute name: function on(type: 'privateModeChange', callback: Callback\<boolean>): void;|@ohos.display.d.ts|
5|Added|NA|Module name: ohos.display<br>Class name: display<br>Method or attribute name: function off(type: 'privateModeChange', callback?: Callback\<boolean>): void;|@ohos.display.d.ts|
6|Added|NA|Module name: ohos.display<br>Class name: Orientation|@ohos.display.d.ts|
7|Added|NA|Module name: ohos.display<br>Class name: Orientation<br>Method or attribute name: PORTRAIT = 0|@ohos.display.d.ts|
8|Added|NA|Module name: ohos.display<br>Class name: Orientation<br>Method or attribute name: LANDSCAPE = 1|@ohos.display.d.ts|
9|Added|NA|Module name: ohos.display<br>Class name: Orientation<br>Method or attribute name: PORTRAIT_INVERTED = 2|@ohos.display.d.ts|
10|Added|NA|Module name: ohos.display<br>Class name: Orientation<br>Method or attribute name: LANDSCAPE_INVERTED = 3|@ohos.display.d.ts|
11|Added|NA|Class name: Display<br>Method or attribute name: orientation: Orientation;|@ohos.display.d.ts|
12|Added|NA|Class name: screen<br>Method or attribute name: function stopExpand(expandScreen: Array\<number>, callback: AsyncCallback\<void>): void;|@ohos.screen.d.ts|
13|Added|NA|Class name: screen<br>Method or attribute name: function stopExpand(expandScreen: Array\<number>): Promise\<void>;|@ohos.screen.d.ts|
14|Added|NA|Class name: screen<br>Method or attribute name: function stopMirror(mirrorScreen: Array\<number>, callback: AsyncCallback\<void>): void;|@ohos.screen.d.ts|
15|Added|NA|Class name: screen<br>Method or attribute name: function stopMirror(mirrorScreen: Array\<number>): Promise\<void>;|@ohos.screen.d.ts|
16|Added|NA|Module name: ohos.screen<br>Class name: ScreenSourceMode|@ohos.screen.d.ts|
17|Added|NA|Class name: ScreenSourceMode<br>Method or attribute name: |@ohos.screen.d.ts|
18|Added|NA|Module name: ohos.screen<br>Class name: ScreenSourceMode<br>Method or attribute name: SCREEN_MAIN = 0|@ohos.screen.d.ts|
19|Added|NA|Module name: ohos.screen<br>Class name: ScreenSourceMode<br>Method or attribute name: SCREEN_MIRROR = 1|@ohos.screen.d.ts|
20|Added|NA|Module name: ohos.screen<br>Class name: ScreenSourceMode<br>Method or attribute name: SCREEN_EXTEND = 2|@ohos.screen.d.ts|
21|Added|NA|Module name: ohos.screen<br>Class name: ScreenSourceMode<br>Method or attribute name: SCREEN_ALONE = 3|@ohos.screen.d.ts|
22|Added|NA|Module name: ohos.screen<br>Class name: Screen<br>Method or attribute name: readonly sourceMode: ScreenSourceMode;|@ohos.screen.d.ts|
23|Added|NA|Class name: window<br>Method or attribute name: function setGestureNavigationEnabled(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
24|Added|NA|Class name: window<br>Method or attribute name: function setGestureNavigationEnabled(enable: boolean): Promise\<void>;|@ohos.window.d.ts|
25|Added|NA|Class name: window<br>Method or attribute name: function on(type: 'gestureNavigationEnabledChange', callback: Callback\<boolean>): void;|@ohos.window.d.ts|
26|Added|NA|Class name: window<br>Method or attribute name: function off(type: 'gestureNavigationEnabledChange', callback?: Callback\<boolean>): void;|@ohos.window.d.ts|
27|Added|NA|Module name: ohos.window<br>Class name: WindowEventType|@ohos.window.d.ts|
28|Added|NA|Class name: WindowEventType<br>Method or attribute name: |@ohos.window.d.ts|
29|Added|NA|Module name: ohos.window<br>Class name: WindowEventType<br>Method or attribute name: WINDOW_SHOWN = 1|@ohos.window.d.ts|
30|Added|NA|Module name: ohos.window<br>Class name: WindowEventType<br>Method or attribute name: WINDOW_ACTIVE = 2|@ohos.window.d.ts|
31|Added|NA|Module name: ohos.window<br>Class name: WindowEventType<br>Method or attribute name: WINDOW_INACTIVE = 3|@ohos.window.d.ts|
32|Added|NA|Module name: ohos.window<br>Class name: WindowEventType<br>Method or attribute name: WINDOW_HIDDEN = 4|@ohos.window.d.ts|
33|Added|NA|Class name: Window<br>Method or attribute name: on(type: 'dialogTargetTouch', callback: Callback\<void>): void;|@ohos.window.d.ts|
34|Added|NA|Class name: Window<br>Method or attribute name: off(type: 'dialogTargetTouch', callback?: Callback\<void>): void;|@ohos.window.d.ts|
35|Added|NA|Class name: Window<br>Method or attribute name: on(type: 'windowEvent', callback: Callback\<WindowEventType>): void;|@ohos.window.d.ts|
36|Added|NA|Class name: Window<br>Method or attribute name: off(type: 'windowEvent', callback: Callback\<WindowEventType>): void;|@ohos.window.d.ts|
37|Added|NA|Class name: Window<br>Method or attribute name: raiseToAppTop(callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
38|Added|NA|Class name: Window<br>Method or attribute name: raiseToAppTop(): Promise\<void>;|@ohos.window.d.ts|
39|Added|NA|Class name: Window<br>Method or attribute name: setAspectRatio(ratio: number, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
40|Added|NA|Class name: Window<br>Method or attribute name: setAspectRatio(ratio: number): Promise\<void>;|@ohos.window.d.ts|
41|Added|NA|Class name: Window<br>Method or attribute name: resetAspectRatio(callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
42|Added|NA|Class name: Window<br>Method or attribute name: resetAspectRatio(): Promise\<void>;|@ohos.window.d.ts|
43|Added|NA|Class name: Window<br>Method or attribute name: setWaterMarkFlag(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
44|Added|NA|Class name: Window<br>Method or attribute name: setWaterMarkFlag(enable: boolean): Promise\<void>;|@ohos.window.d.ts|
45