1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|类名:sourcefile;<br>方法or属性:export type WindowExtensionContext = _WindowExtensionContext;|@ohos.application.WindowExtensionAbility.d.ts| 4|新增|NA|类名:display;<br>方法or属性:function on(type: 'privateModeChange', callback: Callback\<boolean>): void;|@ohos.display.d.ts| 5|新增|NA|类名:display;<br>方法or属性:function off(type: 'privateModeChange', callback?: Callback\<boolean>): void;|@ohos.display.d.ts| 6|新增|NA|类名:Orientation;<br>方法or属性:PORTRAIT = 0|@ohos.display.d.ts| 7|新增|NA|类名:Orientation;<br>方法or属性:LANDSCAPE = 1|@ohos.display.d.ts| 8|新增|NA|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 2|@ohos.display.d.ts| 9|新增|NA|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 3|@ohos.display.d.ts| 10|新增|NA|类名:Display;<br>方法or属性:orientation: Orientation;|@ohos.display.d.ts| 11|新增|NA|类名:screen;<br>方法or属性:function stopExpand(expandScreen: Array\<number>, callback: AsyncCallback\<void>): void;|@ohos.screen.d.ts| 12|新增|NA|类名:screen;<br>方法or属性:function stopExpand(expandScreen: Array\<number>): Promise\<void>;|@ohos.screen.d.ts| 13|新增|NA|类名:screen;<br>方法or属性:function stopMirror(mirrorScreen: Array\<number>, callback: AsyncCallback\<void>): void;|@ohos.screen.d.ts| 14|新增|NA|类名:screen;<br>方法or属性:function stopMirror(mirrorScreen: Array\<number>): Promise\<void>;|@ohos.screen.d.ts| 15|新增|NA|类名:ScreenSourceMode;<br>方法or属性:SCREEN_MAIN = 0|@ohos.screen.d.ts| 16|新增|NA|类名:ScreenSourceMode;<br>方法or属性:SCREEN_MIRROR = 1|@ohos.screen.d.ts| 17|新增|NA|类名:ScreenSourceMode;<br>方法or属性:SCREEN_EXTEND = 2|@ohos.screen.d.ts| 18|新增|NA|类名:ScreenSourceMode;<br>方法or属性:SCREEN_ALONE = 3|@ohos.screen.d.ts| 19|新增|NA|类名:Screen;<br>方法or属性:readonly sourceMode: ScreenSourceMode;|@ohos.screen.d.ts| 20|新增|NA|类名:window;<br>方法or属性:function setGestureNavigationEnabled(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts| 21|新增|NA|类名:window;<br>方法or属性:function setGestureNavigationEnabled(enable: boolean): Promise\<void>;|@ohos.window.d.ts| 22|新增|NA|类名:window;<br>方法or属性:function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean): Promise\<void>;|@ohos.window.d.ts| 23|新增|NA|类名:window;<br>方法or属性:function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts| 24|新增|NA|类名:window;<br>方法or属性:function on(type: 'gestureNavigationEnabledChange', callback: Callback\<boolean>): void;|@ohos.window.d.ts| 25|新增|NA|类名:window;<br>方法or属性:function on(type: 'waterMarkFlagChange', callback: Callback\<boolean>): void;|@ohos.window.d.ts| 26|新增|NA|类名:window;<br>方法or属性:function off(type: 'gestureNavigationEnabledChange', callback?: Callback\<boolean>): void;|@ohos.window.d.ts| 27|新增|NA|类名:window;<br>方法or属性:function off(type: 'waterMarkFlagChange', callback?: Callback\<boolean>): void;|@ohos.window.d.ts| 28|新增|NA|类名:WindowEventType;<br>方法or属性:WINDOW_SHOWN = 1|@ohos.window.d.ts| 29|新增|NA|类名:WindowEventType;<br>方法or属性:WINDOW_ACTIVE = 2|@ohos.window.d.ts| 30|新增|NA|类名:WindowEventType;<br>方法or属性:WINDOW_INACTIVE = 3|@ohos.window.d.ts| 31|新增|NA|类名:WindowEventType;<br>方法or属性:WINDOW_HIDDEN = 4|@ohos.window.d.ts| 32|新增|NA|类名:Window;<br>方法or属性:getUIContext() : UIContext;|@ohos.window.d.ts| 33|新增|NA|类名:Window;<br>方法or属性:on(type: 'dialogTargetTouch', callback: Callback\<void>): void;|@ohos.window.d.ts| 34|新增|NA|类名:Window;<br>方法or属性:on(type: 'windowEvent', callback: Callback\<WindowEventType>): void;|@ohos.window.d.ts| 35|新增|NA|类名:Window;<br>方法or属性:off(type: 'dialogTargetTouch', callback?: Callback\<void>): void;|@ohos.window.d.ts| 36|新增|NA|类名:Window;<br>方法or属性:off(type: 'windowEvent', callback?: Callback\<WindowEventType>): void;|@ohos.window.d.ts| 37|新增|NA|类名:Window;<br>方法or属性:raiseToAppTop(callback: AsyncCallback\<void>): void;|@ohos.window.d.ts| 38|新增|NA|类名:Window;<br>方法or属性:raiseToAppTop(): Promise\<void>;|@ohos.window.d.ts| 39|新增|NA|类名:Window;<br>方法or属性:setAspectRatio(ratio: number, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts| 40|新增|NA|类名:Window;<br>方法or属性:setAspectRatio(ratio: number): Promise\<void>;|@ohos.window.d.ts| 41|新增|NA|类名:Window;<br>方法or属性:resetAspectRatio(callback: AsyncCallback\<void>): void;|@ohos.window.d.ts| 42|新增|NA|类名:Window;<br>方法or属性:resetAspectRatio(): Promise\<void>;|@ohos.window.d.ts| 43|新增|NA|类名:Window;<br>方法or属性:setWaterMarkFlag(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts| 44|新增|NA|类名:Window;<br>方法or属性:setWaterMarkFlag(enable: boolean): Promise\<void>;|@ohos.window.d.ts| 45|新增(错误码)|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>旧版本信息:|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>新版本信息:1400001|@ohos.screen.d.ts| 46|新增(错误码)|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>新版本信息:401,1400001|@ohos.screen.d.ts| 47|新增(错误码)|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>新版本信息:401,1400001|@ohos.screen.d.ts| 48|新增(错误码)|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信息:201,401,1400001|@ohos.screen.d.ts| 49|新增(错误码)|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>新版本信息:401,1400002|@ohos.screen.d.ts| 50|新增(错误码)|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信息:201,401,1400001|@ohos.screen.d.ts| 51|新增(错误码)|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>新版本信息:401|@ohos.screen.d.ts| 52|新增(错误码)|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>新版本信息:401,1400003|@ohos.screen.d.ts| 53|新增(错误码)|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>新版本信息:401,1400003|@ohos.screen.d.ts| 54|新增(错误码)|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>新版本信息:401,1400003|@ohos.screen.d.ts| 55|错误码有变化|类名:window;<br>方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\<Window>): void;<br>旧版本信息:201,401,1300001,1300006|类名:window;<br>方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\<Window>): void;<br>新版本信息:201,401,1300001,1300006,1300008,1300009|@ohos.window.d.ts| 56|错误码有变化|类名:window;<br>方法or属性:function createWindow(config: Configuration): Promise\<Window>;<br>旧版本信息:201,401,1300001,1300006|类名:window;<br>方法or属性:function createWindow(config: Configuration): Promise\<Window>;<br>新版本信息:201,401,1300001,1300006,1300008,1300009|@ohos.window.d.ts| 57|错误码有变化|类名:window;<br>方法or属性:function findWindow(name: string): Window;<br>旧版本信息:401|类名:window;<br>方法or属性:function findWindow(name: string): Window;<br>新版本信息:401,1300002|@ohos.window.d.ts| 58|错误码有变化|类名:Window;<br>方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback\<void>): void;<br>旧版本信息:401,1300002,1300003|类名:Window;<br>方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback\<void>): void;<br>新版本信息:401,801,1300002,1300003|@ohos.window.d.ts| 59|错误码有变化|类名:Window;<br>方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise\<void>;<br>旧版本信息:401,1300002,1300003|类名:Window;<br>方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise\<void>;<br>新版本信息:401,801,1300002,1300003|@ohos.window.d.ts| 60|访问级别有变化|类名:RRect;<br>方法or属性:left: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:left: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 61|访问级别有变化|类名:RRect;<br>方法or属性:top: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:top: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 62|访问级别有变化|类名:RRect;<br>方法or属性:width: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:width: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 63|访问级别有变化|类名:RRect;<br>方法or属性:height: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:height: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 64|访问级别有变化|类名:RRect;<br>方法or属性:radius: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:radius: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 65|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 66|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 67|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 68|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| 69|访问级别有变化|类名:screen;<br>方法or属性:function getAllScreens(callback: AsyncCallback\<Array\<Screen>>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function getAllScreens(callback: AsyncCallback\<Array\<Screen>>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 70|访问级别有变化|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>旧版本信息:|类名:screen;<br>方法or属性:function getAllScreens(): Promise\<Array\<Screen>>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 71|访问级别有变化|类名:screen;<br>方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 72|访问级别有变化|类名:screen;<br>方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 73|访问级别有变化|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 74|访问级别有变化|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeExpand(options: Array\<ExpandOption>): Promise\<number>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 75|访问级别有变化|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>, callback: AsyncCallback\<number>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>, callback: AsyncCallback\<number>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 76|访问级别有变化|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>旧版本信息:|类名:screen;<br>方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\<number>): Promise\<number>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 77|访问级别有变化|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\<Screen>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\<Screen>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 78|访问级别有变化|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 79|访问级别有变化|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 80|访问级别有变化|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function destroyVirtualScreen(screenId: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 81|访问级别有变化|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 82|访问级别有变化|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 83|访问级别有变化|类名:screen;<br>方法or属性:function isScreenRotationLocked(callback: AsyncCallback\<boolean>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function isScreenRotationLocked(callback: AsyncCallback\<boolean>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 84|访问级别有变化|类名:screen;<br>方法or属性:function isScreenRotationLocked(): Promise\<boolean>;<br>旧版本信息:|类名:screen;<br>方法or属性:function isScreenRotationLocked(): Promise\<boolean>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 85|访问级别有变化|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 86|访问级别有变化|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 87|访问级别有变化|类名:ExpandOption;<br>方法or属性:interface ExpandOption<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:interface ExpandOption<br>新版本信息:systemapi|@ohos.screen.d.ts| 88|访问级别有变化|类名:ExpandOption;<br>方法or属性:screenId: number;<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:screenId: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 89|访问级别有变化|类名:ExpandOption;<br>方法or属性:startX: number;<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:startX: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 90|访问级别有变化|类名:ExpandOption;<br>方法or属性:startY: number;<br>旧版本信息:|类名:ExpandOption;<br>方法or属性:startY: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 91|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:interface VirtualScreenOption<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:interface VirtualScreenOption<br>新版本信息:systemapi|@ohos.screen.d.ts| 92|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:name: string;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:name: string;<br>新版本信息:systemapi|@ohos.screen.d.ts| 93|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:width: number;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:width: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 94|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:height: number;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:height: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 95|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:density: number;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:density: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 96|访问级别有变化|类名:VirtualScreenOption;<br>方法or属性:surfaceId: string;<br>旧版本信息:|类名:VirtualScreenOption;<br>方法or属性:surfaceId: string;<br>新版本信息:systemapi|@ohos.screen.d.ts| 97|访问级别有变化|类名:Screen;<br>方法or属性:interface Screen<br>旧版本信息:|类名:Screen;<br>方法or属性:interface Screen<br>新版本信息:systemapi|@ohos.screen.d.ts| 98|访问级别有变化|类名:Screen;<br>方法or属性:readonly id: number;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly id: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 99|访问级别有变化|类名:Screen;<br>方法or属性:readonly parent: number;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly parent: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 100|访问级别有变化|类名:Screen;<br>方法or属性:readonly supportedModeInfo: Array\<ScreenModeInfo>;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly supportedModeInfo: Array\<ScreenModeInfo>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 101|访问级别有变化|类名:Screen;<br>方法or属性:readonly activeModeIndex: number;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly activeModeIndex: number;<br>新版本信息:systemapi|@ohos.screen.d.ts| 102|访问级别有变化|类名:Screen;<br>方法or属性:readonly orientation: Orientation;<br>旧版本信息:|类名:Screen;<br>方法or属性:readonly orientation: Orientation;<br>新版本信息:systemapi|@ohos.screen.d.ts| 103|访问级别有变化|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 104|访问级别有变化|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setOrientation(orientation: Orientation): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 105|访问级别有变化|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 106|访问级别有变化|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setScreenActiveMode(modeIndex: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 107|访问级别有变化|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\<void>): void;<br>新版本信息:systemapi|@ohos.screen.d.ts| 108|访问级别有变化|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>旧版本信息:|类名:Screen;<br>方法or属性:setDensityDpi(densityDpi: number): Promise\<void>;<br>新版本信息:systemapi|@ohos.screen.d.ts| 109|访问级别有变化|类名:Orientation;<br>方法or属性:enum Orientation<br>旧版本信息:|类名:Orientation;<br>方法or属性:enum Orientation<br>新版本信息:systemapi|@ohos.screen.d.ts| 110|访问级别有变化|类名:ScreenModeInfo;<br>方法or属性:interface ScreenModeInfo<br>旧版本信息:|类名:ScreenModeInfo;<br>方法or属性:interface ScreenModeInfo<br>新版本信息:systemapi|@ohos.screen.d.ts| 111|访问级别有变化|类名:screenshot;<br>方法or属性:function save(options: ScreenshotOptions, callback: AsyncCallback\<image.PixelMap>): void;<br>旧版本信息:|类名:screenshot;<br>方法or属性:function save(options: ScreenshotOptions, callback: AsyncCallback\<image.PixelMap>): void;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 112|访问级别有变化|类名:screenshot;<br>方法or属性:function save(callback: AsyncCallback\<image.PixelMap>): void;<br>旧版本信息:|类名:screenshot;<br>方法or属性:function save(callback: AsyncCallback\<image.PixelMap>): void;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 113|访问级别有变化|类名:screenshot;<br>方法or属性:function save(options?: ScreenshotOptions): Promise\<image.PixelMap>;<br>旧版本信息:|类名:screenshot;<br>方法or属性:function save(options?: ScreenshotOptions): Promise\<image.PixelMap>;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 114|访问级别有变化|类名:Rect;<br>方法or属性:interface Rect<br>旧版本信息:|类名:Rect;<br>方法or属性:interface Rect<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 115|访问级别有变化|类名:Size;<br>方法or属性:interface Size<br>旧版本信息:|类名:Size;<br>方法or属性:interface Size<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 116|访问级别有变化|类名:ScreenshotOptions;<br>方法or属性:interface ScreenshotOptions<br>旧版本信息:|类名:ScreenshotOptions;<br>方法or属性:interface ScreenshotOptions<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 117|访问级别有变化|类名:ScreenshotOptions;<br>方法or属性:screenRect?: Rect;<br>旧版本信息:|类名:ScreenshotOptions;<br>方法or属性:screenRect?: Rect;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 118|访问级别有变化|类名:ScreenshotOptions;<br>方法or属性:imageSize?: Size;<br>旧版本信息:|类名:ScreenshotOptions;<br>方法or属性:imageSize?: Size;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 119|访问级别有变化|类名:ScreenshotOptions;<br>方法or属性:rotation?: number;<br>旧版本信息:|类名:ScreenshotOptions;<br>方法or属性:rotation?: number;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 120|访问级别有变化|类名:ScreenshotOptions;<br>方法or属性:displayId?: number;<br>旧版本信息:|类名:ScreenshotOptions;<br>方法or属性:displayId?: number;<br>新版本信息:systemapi|@ohos.screenshot.d.ts| 121|访问级别有变化|类名:WindowType;<br>方法or属性:TYPE_DIALOG<br>旧版本信息:systemapi|类名:WindowType;<br>方法or属性:TYPE_DIALOG<br>新版本信息:|@ohos.window.d.ts| 122|访问级别有变化|类名:SystemBarRegionTint;<br>方法or属性:type: WindowType;<br>旧版本信息:|类名:SystemBarRegionTint;<br>方法or属性:type: WindowType;<br>新版本信息:systemapi|@ohos.window.d.ts| 123|访问级别有变化|类名:SystemBarRegionTint;<br>方法or属性:isEnable?: boolean;<br>旧版本信息:|类名:SystemBarRegionTint;<br>方法or属性:isEnable?: boolean;<br>新版本信息:systemapi|@ohos.window.d.ts| 124|访问级别有变化|类名:SystemBarRegionTint;<br>方法or属性:region?: Rect;<br>旧版本信息:|类名:SystemBarRegionTint;<br>方法or属性:region?: Rect;<br>新版本信息:systemapi|@ohos.window.d.ts| 125|访问级别有变化|类名:SystemBarRegionTint;<br>方法or属性:backgroundColor?: string;<br>旧版本信息:|类名:SystemBarRegionTint;<br>方法or属性:backgroundColor?: string;<br>新版本信息:systemapi|@ohos.window.d.ts| 126|访问级别有变化|类名:SystemBarRegionTint;<br>方法or属性:contentColor?: string;<br>旧版本信息:|类名:SystemBarRegionTint;<br>方法or属性:contentColor?: string;<br>新版本信息:systemapi|@ohos.window.d.ts| 127|访问级别有变化|类名:SystemBarTintState;<br>方法or属性:displayId: number;<br>旧版本信息:|类名:SystemBarTintState;<br>方法or属性:displayId: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 128|访问级别有变化|类名:SystemBarTintState;<br>方法or属性:regionTint: Array\<SystemBarRegionTint>;<br>旧版本信息:|类名:SystemBarTintState;<br>方法or属性:regionTint: Array\<SystemBarRegionTint>;<br>新版本信息:systemapi|@ohos.window.d.ts| 129|访问级别有变化|类名:ScaleOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:ScaleOptions;<br>方法or属性:x?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 130|访问级别有变化|类名:RotateOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:x?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 131|访问级别有变化|类名:TranslateOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:x?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 132|访问级别有变化|类名:ScaleOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:ScaleOptions;<br>方法or属性:y?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 133|访问级别有变化|类名:RotateOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:y?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 134|访问级别有变化|类名:TranslateOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:y?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 135|访问级别有变化|类名:ScaleOptions;<br>方法or属性:pivotX?: number;<br>旧版本信息:|类名:ScaleOptions;<br>方法or属性:pivotX?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 136|访问级别有变化|类名:RotateOptions;<br>方法or属性:pivotX?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:pivotX?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 137|访问级别有变化|类名:ScaleOptions;<br>方法or属性:pivotY?: number;<br>旧版本信息:|类名:ScaleOptions;<br>方法or属性:pivotY?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 138|访问级别有变化|类名:RotateOptions;<br>方法or属性:pivotY?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:pivotY?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 139|访问级别有变化|类名:RotateOptions;<br>方法or属性:z?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:z?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 140|访问级别有变化|类名:TranslateOptions;<br>方法or属性:z?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:z?: number;<br>新版本信息:systemapi|@ohos.window.d.ts| 141|访问级别有变化|类名:TransitionContext;<br>方法or属性:toWindow: Window;<br>旧版本信息:|类名:TransitionContext;<br>方法or属性:toWindow: Window;<br>新版本信息:systemapi|@ohos.window.d.ts| 142|访问级别有变化|类名:TransitionContext;<br>方法or属性:completeTransition(isCompleted: boolean): void;<br>旧版本信息:|类名:TransitionContext;<br>方法or属性:completeTransition(isCompleted: boolean): void;<br>新版本信息:systemapi|@ohos.window.d.ts| 143|访问级别有变化|类名:TransitionController;<br>方法or属性:animationForShown(context: TransitionContext): void;<br>旧版本信息:|类名:TransitionController;<br>方法or属性:animationForShown(context: TransitionContext): void;<br>新版本信息:systemapi|@ohos.window.d.ts| 144|访问级别有变化|类名:TransitionController;<br>方法or属性:animationForHidden(context: TransitionContext): void;<br>旧版本信息:|类名:TransitionController;<br>方法or属性:animationForHidden(context: TransitionContext): void;<br>新版本信息:systemapi|@ohos.window.d.ts| 145|访问级别有变化|类名:BlurStyle;<br>方法or属性:OFF<br>旧版本信息:|类名:BlurStyle;<br>方法or属性:OFF<br>新版本信息:systemapi|@ohos.window.d.ts| 146|访问级别有变化|类名:BlurStyle;<br>方法or属性:THIN<br>旧版本信息:|类名:BlurStyle;<br>方法or属性:THIN<br>新版本信息:systemapi|@ohos.window.d.ts| 147|访问级别有变化|类名:BlurStyle;<br>方法or属性:REGULAR<br>旧版本信息:|类名:BlurStyle;<br>方法or属性:REGULAR<br>新版本信息:systemapi|@ohos.window.d.ts| 148|访问级别有变化|类名:BlurStyle;<br>方法or属性:THICK<br>旧版本信息:|类名:BlurStyle;<br>方法or属性:THICK<br>新版本信息:systemapi|@ohos.window.d.ts| 149|权限有变化|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>旧版本信息:|类名:screen;<br>方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\<Screen>;<br>新版本信息:ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| 150|权限有变化|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>旧版本信息:|类名:screen;<br>方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\<void>;<br>新版本信息:ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| 151|model有变化|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>新版本信息:StageModelOnly|@ohos.window.d.ts| 152|model有变化|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>新版本信息:StageModelOnly|@ohos.window.d.ts| 153|model有变化|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>新版本信息:StageModelOnly|@ohos.window.d.ts| 154|model有变化|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>新版本信息:StageModelOnly|@ohos.window.d.ts| 155|type有变化|类名:RRect;<br>方法or属性:left: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:left: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| 156|type有变化|类名:RRect;<br>方法or属性:top: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:top: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| 157|type有变化|类名:RRect;<br>方法or属性:width: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:width: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| 158|type有变化|类名:RRect;<br>方法or属性:height: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:height: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| 159|type有变化|类名:RRect;<br>方法or属性:radius: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:radius: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| 160|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>新版本信息:string|@ohos.animation.windowAnimationManager.d.ts| 161|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>新版本信息:string|@ohos.animation.windowAnimationManager.d.ts| 162|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>新版本信息:RRect|@ohos.animation.windowAnimationManager.d.ts| 163|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| 164|type有变化|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>新版本信息:WindowType|@ohos.window.d.ts| 165|type有变化|类名:Size;<br>方法or属性:width: number;<br>旧版本信息:|类名:Size;<br>方法or属性:width: number;<br>新版本信息:number|@ohos.window.d.ts| 166|type有变化|类名:Size;<br>方法or属性:height: number;<br>旧版本信息:|类名:Size;<br>方法or属性:height: number;<br>新版本信息:number|@ohos.window.d.ts| 167|type有变化|类名:AvoidArea;<br>方法or属性:visible: boolean;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:visible: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 168|type有变化|类名:AvoidArea;<br>方法or属性:leftRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:leftRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts| 169|type有变化|类名:AvoidArea;<br>方法or属性:topRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:topRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts| 170|type有变化|类名:AvoidArea;<br>方法or属性:rightRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:rightRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts| 171|type有变化|类名:AvoidArea;<br>方法or属性:bottomRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:bottomRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts| 172|type有变化|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts| 173|type有变化|类名:WindowProperties;<br>方法or属性:isFullScreen: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isFullScreen: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 174|type有变化|类名:WindowProperties;<br>方法or属性:isLayoutFullScreen: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isLayoutFullScreen: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 175|type有变化|类名:WindowProperties;<br>方法or属性:focusable: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:focusable: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 176|type有变化|类名:WindowProperties;<br>方法or属性:touchable: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:touchable: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 177|type有变化|类名:WindowProperties;<br>方法or属性:brightness: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:brightness: number;<br>新版本信息:number|@ohos.window.d.ts| 178|type有变化|类名:WindowProperties;<br>方法or属性:dimBehindValue: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:dimBehindValue: number;<br>新版本信息:number|@ohos.window.d.ts| 179|type有变化|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 180|type有变化|类名:WindowProperties;<br>方法or属性:isPrivacyMode: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isPrivacyMode: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 181|type有变化|类名:WindowProperties;<br>方法or属性:isRoundCorner: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isRoundCorner: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 182|type有变化|类名:WindowProperties;<br>方法or属性:isTransparent: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isTransparent: boolean;<br>新版本信息:boolean|@ohos.window.d.ts| 183|type有变化|类名:WindowProperties;<br>方法or属性:id: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:id: number;<br>新版本信息:number|@ohos.window.d.ts| 184|type有变化|类名:RotateOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:x?: number;<br>新版本信息:?number|@ohos.window.d.ts| 185|type有变化|类名:TranslateOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:x?: number;<br>新版本信息:?number|@ohos.window.d.ts| 186|type有变化|类名:RotateOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:y?: number;<br>新版本信息:?number|@ohos.window.d.ts| 187|type有变化|类名:TranslateOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:y?: number;<br>新版本信息:?number|@ohos.window.d.ts| 188|type有变化|类名:RotateOptions;<br>方法or属性:pivotX?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:pivotX?: number;<br>新版本信息:?number|@ohos.window.d.ts| 189|type有变化|类名:RotateOptions;<br>方法or属性:pivotY?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:pivotY?: number;<br>新版本信息:?number|@ohos.window.d.ts| 190|type有变化|类名:RotateOptions;<br>方法or属性:z?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:z?: number;<br>新版本信息:?number|@ohos.window.d.ts| 191|type有变化|类名:TranslateOptions;<br>方法or属性:z?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:z?: number;<br>新版本信息:?number|@ohos.window.d.ts| 192|type有变化|类名:TransitionContext;<br>方法or属性:toWindow: Window;<br>旧版本信息:|类名:TransitionContext;<br>方法or属性:toWindow: Window;<br>新版本信息:Window|@ohos.window.d.ts| 193|type有变化|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>旧版本信息:|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>新版本信息:WindowType|@ohos.window.d.ts| 194|type有变化|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>旧版本信息:|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>新版本信息:?BaseContext|@ohos.window.d.ts| 195|type有变化|类名:Configuration;<br>方法or属性:displayId?: number;<br>旧版本信息:|类名:Configuration;<br>方法or属性:displayId?: number;<br>新版本信息:?number|@ohos.window.d.ts| 196|type有变化|类名:Configuration;<br>方法or属性:parentId?: number;<br>旧版本信息:|类名:Configuration;<br>方法or属性:parentId?: number;<br>新版本信息:?number|@ohos.window.d.ts| 197|跨平台能力有变化|类名:display;<br>方法or属性:declare display<br>旧版本信息:|类名:display;<br>方法or属性:declare display<br>新版本信息:crossplatform|@ohos.display.d.ts| 198|跨平台能力有变化|类名:display;<br>方法or属性:function getDefaultDisplaySync(): Display;<br>旧版本信息:|类名:display;<br>方法or属性:function getDefaultDisplaySync(): Display;<br>新版本信息:crossplatform|@ohos.display.d.ts| 199|跨平台能力有变化|类名:Display;<br>方法or属性:interface Display<br>旧版本信息:|类名:Display;<br>方法or属性:interface Display<br>新版本信息:crossplatform|@ohos.display.d.ts| 200|跨平台能力有变化|类名:Display;<br>方法or属性:id: number;<br>旧版本信息:|类名:Display;<br>方法or属性:id: number;<br>新版本信息:crossplatform|@ohos.display.d.ts| 201|跨平台能力有变化|类名:Display;<br>方法or属性:width: number;<br>旧版本信息:|类名:Display;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.display.d.ts| 202|跨平台能力有变化|类名:Display;<br>方法or属性:height: number;<br>旧版本信息:|类名:Display;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.display.d.ts| 203|跨平台能力有变化|类名:window;<br>方法or属性:declare window<br>旧版本信息:|类名:window;<br>方法or属性:declare window<br>新版本信息:crossplatform|@ohos.window.d.ts| 204|跨平台能力有变化|类名:window;<br>方法or属性:function findWindow(name: string): Window;<br>旧版本信息:|类名:window;<br>方法or属性:function findWindow(name: string): Window;<br>新版本信息:crossplatform|@ohos.window.d.ts| 205|跨平台能力有变化|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 206|跨平台能力有变化|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext): Promise\<Window>;<br>旧版本信息:|类名:window;<br>方法or属性:function getLastWindow(ctx: BaseContext): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 207|跨平台能力有变化|类名:Rect;<br>方法or属性:interface Rect<br>旧版本信息:|类名:Rect;<br>方法or属性:interface Rect<br>新版本信息:crossplatform|@ohos.window.d.ts| 208|跨平台能力有变化|类名:Rect;<br>方法or属性:left: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:left: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 209|跨平台能力有变化|类名:Rect;<br>方法or属性:top: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:top: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 210|跨平台能力有变化|类名:Rect;<br>方法or属性:width: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 211|跨平台能力有变化|类名:Size;<br>方法or属性:width: number;<br>旧版本信息:|类名:Size;<br>方法or属性:width: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 212|跨平台能力有变化|类名:Rect;<br>方法or属性:height: number;<br>旧版本信息:|类名:Rect;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 213|跨平台能力有变化|类名:Size;<br>方法or属性:height: number;<br>旧版本信息:|类名:Size;<br>方法or属性:height: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 214|跨平台能力有变化|类名:Size;<br>方法or属性:interface Size<br>旧版本信息:|类名:Size;<br>方法or属性:interface Size<br>新版本信息:crossplatform|@ohos.window.d.ts| 215|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:interface WindowProperties<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:interface WindowProperties<br>新版本信息:crossplatform|@ohos.window.d.ts| 216|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>新版本信息:crossplatform|@ohos.window.d.ts| 217|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:brightness: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:brightness: number;<br>新版本信息:crossplatform|@ohos.window.d.ts| 218|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>新版本信息:crossplatform|@ohos.window.d.ts| 219|跨平台能力有变化|类名:Orientation;<br>方法or属性:enum Orientation<br>旧版本信息:|类名:Orientation;<br>方法or属性:enum Orientation<br>新版本信息:crossplatform|@ohos.window.d.ts| 220|跨平台能力有变化|类名:Orientation;<br>方法or属性:UNSPECIFIED = 0<br>旧版本信息:|类名:Orientation;<br>方法or属性:UNSPECIFIED = 0<br>新版本信息:crossplatform|@ohos.window.d.ts| 221|跨平台能力有变化|类名:Orientation;<br>方法or属性:PORTRAIT = 1<br>旧版本信息:|类名:Orientation;<br>方法or属性:PORTRAIT = 1<br>新版本信息:crossplatform|@ohos.window.d.ts| 222|跨平台能力有变化|类名:Orientation;<br>方法or属性:LANDSCAPE = 2<br>旧版本信息:|类名:Orientation;<br>方法or属性:LANDSCAPE = 2<br>新版本信息:crossplatform|@ohos.window.d.ts| 223|跨平台能力有变化|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 3<br>旧版本信息:|类名:Orientation;<br>方法or属性:PORTRAIT_INVERTED = 3<br>新版本信息:crossplatform|@ohos.window.d.ts| 224|跨平台能力有变化|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 4<br>旧版本信息:|类名:Orientation;<br>方法or属性:LANDSCAPE_INVERTED = 4<br>新版本信息:crossplatform|@ohos.window.d.ts| 225|跨平台能力有变化|类名:Window;<br>方法or属性:showWindow(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:showWindow(callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 226|跨平台能力有变化|类名:Window;<br>方法or属性:showWindow(): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:showWindow(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 227|跨平台能力有变化|类名:Window;<br>方法or属性:destroyWindow(callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:destroyWindow(callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 228|跨平台能力有变化|类名:Window;<br>方法or属性:destroyWindow(): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:destroyWindow(): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 229|跨平台能力有变化|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 230|跨平台能力有变化|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 231|跨平台能力有变化|类名:Window;<br>方法or属性:resize(width: number, height: number): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:resize(width: number, height: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 232|跨平台能力有变化|类名:Window;<br>方法or属性:resize(width: number, height: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:resize(width: number, height: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 233|跨平台能力有变化|类名:Window;<br>方法or属性:getWindowProperties(): WindowProperties;<br>旧版本信息:|类名:Window;<br>方法or属性:getWindowProperties(): WindowProperties;<br>新版本信息:crossplatform|@ohos.window.d.ts| 234|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 235|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 236|跨平台能力有变化|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 237|跨平台能力有变化|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 238|跨平台能力有变化|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 239|跨平台能力有变化|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 240|跨平台能力有变化|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:loadContent(path: string, storage: LocalStorage): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 241|跨平台能力有变化|类名:Window;<br>方法or属性:setUIContent(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setUIContent(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 242|跨平台能力有变化|类名:Window;<br>方法or属性:setUIContent(path: string): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setUIContent(path: string): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 243|跨平台能力有变化|类名:Window;<br>方法or属性:isWindowShowing(): boolean;<br>旧版本信息:|类名:Window;<br>方法or属性:isWindowShowing(): boolean;<br>新版本信息:crossplatform|@ohos.window.d.ts| 244|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowBackgroundColor(color: string): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowBackgroundColor(color: string): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 245|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 246|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 247|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise\<void>;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 248|跨平台能力有变化|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:Window;<br>方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 249|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:enum WindowStageEventType<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:enum WindowStageEventType<br>新版本信息:crossplatform|@ohos.window.d.ts| 250|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>新版本信息:crossplatform|@ohos.window.d.ts| 251|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>新版本信息:crossplatform|@ohos.window.d.ts| 252|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>新版本信息:crossplatform|@ohos.window.d.ts| 253|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>新版本信息:crossplatform|@ohos.window.d.ts| 254|跨平台能力有变化|类名:WindowStage;<br>方法or属性:interface WindowStage<br>旧版本信息:|类名:WindowStage;<br>方法or属性:interface WindowStage<br>新版本信息:crossplatform|@ohos.window.d.ts| 255|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getMainWindow(): Promise\<Window>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getMainWindow(): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 256|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getMainWindow(callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getMainWindow(callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 257|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getMainWindowSync(): Window;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getMainWindowSync(): Window;<br>新版本信息:crossplatform|@ohos.window.d.ts| 258|跨平台能力有变化|类名:WindowStage;<br>方法or属性:createSubWindow(name: string): Promise\<Window>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:createSubWindow(name: string): Promise\<Window>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 259|跨平台能力有变化|类名:WindowStage;<br>方法or属性:createSubWindow(name: string, callback: AsyncCallback\<Window>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:createSubWindow(name: string, callback: AsyncCallback\<Window>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 260|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getSubWindow(): Promise\<Array\<Window>>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getSubWindow(): Promise\<Array\<Window>>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 261|跨平台能力有变化|类名:WindowStage;<br>方法or属性:getSubWindow(callback: AsyncCallback\<Array\<Window>>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:getSubWindow(callback: AsyncCallback\<Array\<Window>>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 262|跨平台能力有变化|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage?: LocalStorage): Promise\<void>;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:loadContent(path: string, storage?: LocalStorage): Promise\<void>;<br>新版本信息:crossplatform|@ohos.window.d.ts| 263|跨平台能力有变化|类名:WindowStage;<br>方法or属性:loadContent(path: string, callback: AsyncCallback\<void>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:loadContent(path: string, callback: AsyncCallback\<void>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 264|跨平台能力有变化|类名:WindowStage;<br>方法or属性:on(eventType: 'windowStageEvent', callback: Callback\<WindowStageEventType>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:on(eventType: 'windowStageEvent', callback: Callback\<WindowStageEventType>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 265|跨平台能力有变化|类名:WindowStage;<br>方法or属性:off(eventType: 'windowStageEvent', callback?: Callback\<WindowStageEventType>): void;<br>旧版本信息:|类名:WindowStage;<br>方法or属性:off(eventType: 'windowStageEvent', callback?: Callback\<WindowStageEventType>): void;<br>新版本信息:crossplatform|@ohos.window.d.ts| 266