| 操作 | 旧版本 | 新版本 | d.ts文件 | | ---- | ------ | ------ | -------- | |新增|NA|类名:sourcefile;
方法or属性:export type WindowExtensionContext = _WindowExtensionContext;|@ohos.application.WindowExtensionAbility.d.ts| |新增|NA|类名:display;
方法or属性:function on(type: 'privateModeChange', callback: Callback\): void;|@ohos.display.d.ts| |新增|NA|类名:display;
方法or属性:function off(type: 'privateModeChange', callback?: Callback\): void;|@ohos.display.d.ts| |新增|NA|类名:Orientation;
方法or属性:PORTRAIT = 0|@ohos.display.d.ts| |新增|NA|类名:Orientation;
方法or属性:LANDSCAPE = 1|@ohos.display.d.ts| |新增|NA|类名:Orientation;
方法or属性:PORTRAIT_INVERTED = 2|@ohos.display.d.ts| |新增|NA|类名:Orientation;
方法or属性:LANDSCAPE_INVERTED = 3|@ohos.display.d.ts| |新增|NA|类名:Display;
方法or属性:orientation: Orientation;|@ohos.display.d.ts| |新增|NA|类名:screen;
方法or属性:function stopExpand(expandScreen: Array\, callback: AsyncCallback\): void;|@ohos.screen.d.ts| |新增|NA|类名:screen;
方法or属性:function stopExpand(expandScreen: Array\): Promise\;|@ohos.screen.d.ts| |新增|NA|类名:screen;
方法or属性:function stopMirror(mirrorScreen: Array\, callback: AsyncCallback\): void;|@ohos.screen.d.ts| |新增|NA|类名:screen;
方法or属性:function stopMirror(mirrorScreen: Array\): Promise\;|@ohos.screen.d.ts| |新增|NA|类名:ScreenSourceMode;
方法or属性:SCREEN_MAIN = 0|@ohos.screen.d.ts| |新增|NA|类名:ScreenSourceMode;
方法or属性:SCREEN_MIRROR = 1|@ohos.screen.d.ts| |新增|NA|类名:ScreenSourceMode;
方法or属性:SCREEN_EXTEND = 2|@ohos.screen.d.ts| |新增|NA|类名:ScreenSourceMode;
方法or属性:SCREEN_ALONE = 3|@ohos.screen.d.ts| |新增|NA|类名:Screen;
方法or属性:readonly sourceMode: ScreenSourceMode;|@ohos.screen.d.ts| |新增|NA|类名:window;
方法or属性:function setGestureNavigationEnabled(enable: boolean, callback: AsyncCallback\): void;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function setGestureNavigationEnabled(enable: boolean): Promise\;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean): Promise\;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean, callback: AsyncCallback\): void;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function on(type: 'gestureNavigationEnabledChange', callback: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function on(type: 'waterMarkFlagChange', callback: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function off(type: 'gestureNavigationEnabledChange', callback?: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:window;
方法or属性:function off(type: 'waterMarkFlagChange', callback?: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:WindowEventType;
方法or属性:WINDOW_SHOWN = 1|@ohos.window.d.ts| |新增|NA|类名:WindowEventType;
方法or属性:WINDOW_ACTIVE = 2|@ohos.window.d.ts| |新增|NA|类名:WindowEventType;
方法or属性:WINDOW_INACTIVE = 3|@ohos.window.d.ts| |新增|NA|类名:WindowEventType;
方法or属性:WINDOW_HIDDEN = 4|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:getUIContext() : UIContext;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:on(type: 'dialogTargetTouch', callback: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:on(type: 'windowEvent', callback: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:off(type: 'dialogTargetTouch', callback?: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:off(type: 'windowEvent', callback?: Callback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:raiseToAppTop(callback: AsyncCallback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:raiseToAppTop(): Promise\;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:setAspectRatio(ratio: number, callback: AsyncCallback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:setAspectRatio(ratio: number): Promise\;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:resetAspectRatio(callback: AsyncCallback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:resetAspectRatio(): Promise\;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:setWaterMarkFlag(enable: boolean, callback: AsyncCallback\): void;|@ohos.window.d.ts| |新增|NA|类名:Window;
方法or属性:setWaterMarkFlag(enable: boolean): Promise\;|@ohos.window.d.ts| |新增(错误码)|类名:screen;
方法or属性:function getAllScreens(): Promise\>;
旧版本信息:|类名:screen;
方法or属性:function getAllScreens(): Promise\>;
新版本信息:1400001|@ohos.screen.d.ts| |新增(错误码)|类名:screen;
方法or属性:function makeExpand(options: Array\): Promise\;
旧版本信息:|类名:screen;
方法or属性:function makeExpand(options: Array\): Promise\;
新版本信息:401,1400001|@ohos.screen.d.ts| |新增(错误码)|类名:screen;
方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
旧版本信息:|类名:screen;
方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
新版本信息:401,1400001|@ohos.screen.d.ts| |新增(错误码)|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\;
旧版本信息:|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\;
新版本信息:201,401,1400001|@ohos.screen.d.ts| |新增(错误码)|类名:screen;
方法or属性:function destroyVirtualScreen(screenId: number): Promise\;
旧版本信息:|类名:screen;
方法or属性:function destroyVirtualScreen(screenId: number): Promise\;
新版本信息:401,1400002|@ohos.screen.d.ts| |新增(错误码)|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
旧版本信息:|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
新版本信息:201,401,1400001|@ohos.screen.d.ts| |新增(错误码)|类名:screen;
方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\;
旧版本信息:|类名:screen;
方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\;
新版本信息:401|@ohos.screen.d.ts| |新增(错误码)|类名:Screen;
方法or属性:setOrientation(orientation: Orientation): Promise\;
旧版本信息:|类名:Screen;
方法or属性:setOrientation(orientation: Orientation): Promise\;
新版本信息:401,1400003|@ohos.screen.d.ts| |新增(错误码)|类名:Screen;
方法or属性:setScreenActiveMode(modeIndex: number): Promise\;
旧版本信息:|类名:Screen;
方法or属性:setScreenActiveMode(modeIndex: number): Promise\;
新版本信息:401,1400003|@ohos.screen.d.ts| |新增(错误码)|类名:Screen;
方法or属性:setDensityDpi(densityDpi: number): Promise\;
旧版本信息:|类名:Screen;
方法or属性:setDensityDpi(densityDpi: number): Promise\;
新版本信息:401,1400003|@ohos.screen.d.ts| |错误码有变化|类名:window;
方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\): void;
旧版本信息:201,401,1300001,1300006|类名:window;
方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\): void;
新版本信息:201,401,1300001,1300006,1300008,1300009|@ohos.window.d.ts| |错误码有变化|类名:window;
方法or属性:function createWindow(config: Configuration): Promise\;
旧版本信息:201,401,1300001,1300006|类名:window;
方法or属性:function createWindow(config: Configuration): Promise\;
新版本信息:201,401,1300001,1300006,1300008,1300009|@ohos.window.d.ts| |错误码有变化|类名:window;
方法or属性:function findWindow(name: string): Window;
旧版本信息:401|类名:window;
方法or属性:function findWindow(name: string): Window;
新版本信息:401,1300002|@ohos.window.d.ts| |错误码有变化|类名:Window;
方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback\): void;
旧版本信息:401,1300002,1300003|类名:Window;
方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback\): void;
新版本信息:401,801,1300002,1300003|@ohos.window.d.ts| |错误码有变化|类名:Window;
方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise\;
旧版本信息:401,1300002,1300003|类名:Window;
方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise\;
新版本信息:401,801,1300002,1300003|@ohos.window.d.ts| |访问级别有变化|类名:RRect;
方法or属性:left: number;
旧版本信息:|类名:RRect;
方法or属性:left: number;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:RRect;
方法or属性:top: number;
旧版本信息:|类名:RRect;
方法or属性:top: number;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:RRect;
方法or属性:width: number;
旧版本信息:|类名:RRect;
方法or属性:width: number;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:RRect;
方法or属性:height: number;
旧版本信息:|类名:RRect;
方法or属性:height: number;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:RRect;
方法or属性:radius: number;
旧版本信息:|类名:RRect;
方法or属性:radius: number;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:WindowAnimationTarget;
方法or属性:readonly bundleName: string;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly bundleName: string;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:WindowAnimationTarget;
方法or属性:readonly abilityName: string;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly abilityName: string;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:WindowAnimationTarget;
方法or属性:readonly windowBounds: RRect;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly windowBounds: RRect;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:WindowAnimationTarget;
方法or属性:readonly missionId: number;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly missionId: number;
新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts| |访问级别有变化|类名:screen;
方法or属性:function getAllScreens(callback: AsyncCallback\>): void;
旧版本信息:|类名:screen;
方法or属性:function getAllScreens(callback: AsyncCallback\>): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function getAllScreens(): Promise\>;
旧版本信息:|类名:screen;
方法or属性:function getAllScreens(): Promise\>;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\): void;
旧版本信息:|类名:screen;
方法or属性:function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\): void;
旧版本信息:|类名:screen;
方法or属性:function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function makeExpand(options: Array\, callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function makeExpand(options: Array\, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function makeExpand(options: Array\): Promise\;
旧版本信息:|类名:screen;
方法or属性:function makeExpand(options: Array\): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\, callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
旧版本信息:|类名:screen;
方法or属性:function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\;
旧版本信息:|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function destroyVirtualScreen(screenId: number, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function destroyVirtualScreen(screenId: number): Promise\;
旧版本信息:|类名:screen;
方法or属性:function destroyVirtualScreen(screenId: number): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
旧版本信息:|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function isScreenRotationLocked(callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function isScreenRotationLocked(callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function isScreenRotationLocked(): Promise\;
旧版本信息:|类名:screen;
方法or属性:function isScreenRotationLocked(): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\): void;
旧版本信息:|类名:screen;
方法or属性:function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screen;
方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\;
旧版本信息:|类名:screen;
方法or属性:function setScreenRotationLocked(isLocked: boolean): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ExpandOption;
方法or属性:interface ExpandOption
旧版本信息:|类名:ExpandOption;
方法or属性:interface ExpandOption
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ExpandOption;
方法or属性:screenId: number;
旧版本信息:|类名:ExpandOption;
方法or属性:screenId: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ExpandOption;
方法or属性:startX: number;
旧版本信息:|类名:ExpandOption;
方法or属性:startX: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ExpandOption;
方法or属性:startY: number;
旧版本信息:|类名:ExpandOption;
方法or属性:startY: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:VirtualScreenOption;
方法or属性:interface VirtualScreenOption
旧版本信息:|类名:VirtualScreenOption;
方法or属性:interface VirtualScreenOption
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:VirtualScreenOption;
方法or属性:name: string;
旧版本信息:|类名:VirtualScreenOption;
方法or属性:name: string;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:VirtualScreenOption;
方法or属性:width: number;
旧版本信息:|类名:VirtualScreenOption;
方法or属性:width: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:VirtualScreenOption;
方法or属性:height: number;
旧版本信息:|类名:VirtualScreenOption;
方法or属性:height: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:VirtualScreenOption;
方法or属性:density: number;
旧版本信息:|类名:VirtualScreenOption;
方法or属性:density: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:VirtualScreenOption;
方法or属性:surfaceId: string;
旧版本信息:|类名:VirtualScreenOption;
方法or属性:surfaceId: string;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:interface Screen
旧版本信息:|类名:Screen;
方法or属性:interface Screen
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:readonly id: number;
旧版本信息:|类名:Screen;
方法or属性:readonly id: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:readonly parent: number;
旧版本信息:|类名:Screen;
方法or属性:readonly parent: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:readonly supportedModeInfo: Array\;
旧版本信息:|类名:Screen;
方法or属性:readonly supportedModeInfo: Array\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:readonly activeModeIndex: number;
旧版本信息:|类名:Screen;
方法or属性:readonly activeModeIndex: number;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:readonly orientation: Orientation;
旧版本信息:|类名:Screen;
方法or属性:readonly orientation: Orientation;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\): void;
旧版本信息:|类名:Screen;
方法or属性:setOrientation(orientation: Orientation, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:setOrientation(orientation: Orientation): Promise\;
旧版本信息:|类名:Screen;
方法or属性:setOrientation(orientation: Orientation): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\): void;
旧版本信息:|类名:Screen;
方法or属性:setScreenActiveMode(modeIndex: number, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:setScreenActiveMode(modeIndex: number): Promise\;
旧版本信息:|类名:Screen;
方法or属性:setScreenActiveMode(modeIndex: number): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\): void;
旧版本信息:|类名:Screen;
方法or属性:setDensityDpi(densityDpi: number, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Screen;
方法or属性:setDensityDpi(densityDpi: number): Promise\;
旧版本信息:|类名:Screen;
方法or属性:setDensityDpi(densityDpi: number): Promise\;
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:Orientation;
方法or属性:enum Orientation
旧版本信息:|类名:Orientation;
方法or属性:enum Orientation
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ScreenModeInfo;
方法or属性:interface ScreenModeInfo
旧版本信息:|类名:ScreenModeInfo;
方法or属性:interface ScreenModeInfo
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:screenshot;
方法or属性:function save(options: ScreenshotOptions, callback: AsyncCallback\): void;
旧版本信息:|类名:screenshot;
方法or属性:function save(options: ScreenshotOptions, callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:screenshot;
方法or属性:function save(callback: AsyncCallback\): void;
旧版本信息:|类名:screenshot;
方法or属性:function save(callback: AsyncCallback\): void;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:screenshot;
方法or属性:function save(options?: ScreenshotOptions): Promise\;
旧版本信息:|类名:screenshot;
方法or属性:function save(options?: ScreenshotOptions): Promise\;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:Rect;
方法or属性:interface Rect
旧版本信息:|类名:Rect;
方法or属性:interface Rect
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:Size;
方法or属性:interface Size
旧版本信息:|类名:Size;
方法or属性:interface Size
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:ScreenshotOptions;
方法or属性:interface ScreenshotOptions
旧版本信息:|类名:ScreenshotOptions;
方法or属性:interface ScreenshotOptions
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:ScreenshotOptions;
方法or属性:screenRect?: Rect;
旧版本信息:|类名:ScreenshotOptions;
方法or属性:screenRect?: Rect;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:ScreenshotOptions;
方法or属性:imageSize?: Size;
旧版本信息:|类名:ScreenshotOptions;
方法or属性:imageSize?: Size;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:ScreenshotOptions;
方法or属性:rotation?: number;
旧版本信息:|类名:ScreenshotOptions;
方法or属性:rotation?: number;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:ScreenshotOptions;
方法or属性:displayId?: number;
旧版本信息:|类名:ScreenshotOptions;
方法or属性:displayId?: number;
新版本信息:systemapi|@ohos.screenshot.d.ts| |访问级别有变化|类名:WindowType;
方法or属性:TYPE_DIALOG
旧版本信息:systemapi|类名:WindowType;
方法or属性:TYPE_DIALOG
新版本信息:|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarRegionTint;
方法or属性:type: WindowType;
旧版本信息:|类名:SystemBarRegionTint;
方法or属性:type: WindowType;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarRegionTint;
方法or属性:isEnable?: boolean;
旧版本信息:|类名:SystemBarRegionTint;
方法or属性:isEnable?: boolean;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarRegionTint;
方法or属性:region?: Rect;
旧版本信息:|类名:SystemBarRegionTint;
方法or属性:region?: Rect;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarRegionTint;
方法or属性:backgroundColor?: string;
旧版本信息:|类名:SystemBarRegionTint;
方法or属性:backgroundColor?: string;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarRegionTint;
方法or属性:contentColor?: string;
旧版本信息:|类名:SystemBarRegionTint;
方法or属性:contentColor?: string;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarTintState;
方法or属性:displayId: number;
旧版本信息:|类名:SystemBarTintState;
方法or属性:displayId: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:SystemBarTintState;
方法or属性:regionTint: Array\;
旧版本信息:|类名:SystemBarTintState;
方法or属性:regionTint: Array\;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:ScaleOptions;
方法or属性:x?: number;
旧版本信息:|类名:ScaleOptions;
方法or属性:x?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:RotateOptions;
方法or属性:x?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:x?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TranslateOptions;
方法or属性:x?: number;
旧版本信息:|类名:TranslateOptions;
方法or属性:x?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:ScaleOptions;
方法or属性:y?: number;
旧版本信息:|类名:ScaleOptions;
方法or属性:y?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:RotateOptions;
方法or属性:y?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:y?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TranslateOptions;
方法or属性:y?: number;
旧版本信息:|类名:TranslateOptions;
方法or属性:y?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:ScaleOptions;
方法or属性:pivotX?: number;
旧版本信息:|类名:ScaleOptions;
方法or属性:pivotX?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:RotateOptions;
方法or属性:pivotX?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:pivotX?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:ScaleOptions;
方法or属性:pivotY?: number;
旧版本信息:|类名:ScaleOptions;
方法or属性:pivotY?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:RotateOptions;
方法or属性:pivotY?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:pivotY?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:RotateOptions;
方法or属性:z?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:z?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TranslateOptions;
方法or属性:z?: number;
旧版本信息:|类名:TranslateOptions;
方法or属性:z?: number;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TransitionContext;
方法or属性:toWindow: Window;
旧版本信息:|类名:TransitionContext;
方法or属性:toWindow: Window;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TransitionContext;
方法or属性:completeTransition(isCompleted: boolean): void;
旧版本信息:|类名:TransitionContext;
方法or属性:completeTransition(isCompleted: boolean): void;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TransitionController;
方法or属性:animationForShown(context: TransitionContext): void;
旧版本信息:|类名:TransitionController;
方法or属性:animationForShown(context: TransitionContext): void;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:TransitionController;
方法or属性:animationForHidden(context: TransitionContext): void;
旧版本信息:|类名:TransitionController;
方法or属性:animationForHidden(context: TransitionContext): void;
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:BlurStyle;
方法or属性:OFF
旧版本信息:|类名:BlurStyle;
方法or属性:OFF
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:BlurStyle;
方法or属性:THIN
旧版本信息:|类名:BlurStyle;
方法or属性:THIN
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:BlurStyle;
方法or属性:REGULAR
旧版本信息:|类名:BlurStyle;
方法or属性:REGULAR
新版本信息:systemapi|@ohos.window.d.ts| |访问级别有变化|类名:BlurStyle;
方法or属性:THICK
旧版本信息:|类名:BlurStyle;
方法or属性:THICK
新版本信息:systemapi|@ohos.window.d.ts| |权限有变化|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\;
旧版本信息:|类名:screen;
方法or属性:function createVirtualScreen(options: VirtualScreenOption): Promise\;
新版本信息:ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| |权限有变化|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
旧版本信息:|类名:screen;
方法or属性:function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
新版本信息:ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| |model有变化|类名:WindowStageEventType;
方法or属性:SHOWN = 1
旧版本信息:|类名:WindowStageEventType;
方法or属性:SHOWN = 1
新版本信息:StageModelOnly|@ohos.window.d.ts| |model有变化|类名:WindowStageEventType;
方法or属性:ACTIVE
旧版本信息:|类名:WindowStageEventType;
方法or属性:ACTIVE
新版本信息:StageModelOnly|@ohos.window.d.ts| |model有变化|类名:WindowStageEventType;
方法or属性:INACTIVE
旧版本信息:|类名:WindowStageEventType;
方法or属性:INACTIVE
新版本信息:StageModelOnly|@ohos.window.d.ts| |model有变化|类名:WindowStageEventType;
方法or属性:HIDDEN
旧版本信息:|类名:WindowStageEventType;
方法or属性:HIDDEN
新版本信息:StageModelOnly|@ohos.window.d.ts| |type有变化|类名:RRect;
方法or属性:left: number;
旧版本信息:|类名:RRect;
方法or属性:left: number;
新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:RRect;
方法or属性:top: number;
旧版本信息:|类名:RRect;
方法or属性:top: number;
新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:RRect;
方法or属性:width: number;
旧版本信息:|类名:RRect;
方法or属性:width: number;
新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:RRect;
方法or属性:height: number;
旧版本信息:|类名:RRect;
方法or属性:height: number;
新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:RRect;
方法or属性:radius: number;
旧版本信息:|类名:RRect;
方法or属性:radius: number;
新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:WindowAnimationTarget;
方法or属性:readonly bundleName: string;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly bundleName: string;
新版本信息:string|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:WindowAnimationTarget;
方法or属性:readonly abilityName: string;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly abilityName: string;
新版本信息:string|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:WindowAnimationTarget;
方法or属性:readonly windowBounds: RRect;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly windowBounds: RRect;
新版本信息:RRect|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:WindowAnimationTarget;
方法or属性:readonly missionId: number;
旧版本信息:|类名:WindowAnimationTarget;
方法or属性:readonly missionId: number;
新版本信息:number|@ohos.animation.windowAnimationManager.d.ts| |type有变化|类名:WindowProperties;
方法or属性:type: WindowType;
旧版本信息:|类名:WindowProperties;
方法or属性:type: WindowType;
新版本信息:WindowType|@ohos.window.d.ts| |type有变化|类名:Size;
方法or属性:width: number;
旧版本信息:|类名:Size;
方法or属性:width: number;
新版本信息:number|@ohos.window.d.ts| |type有变化|类名:Size;
方法or属性:height: number;
旧版本信息:|类名:Size;
方法or属性:height: number;
新版本信息:number|@ohos.window.d.ts| |type有变化|类名:AvoidArea;
方法or属性:visible: boolean;
旧版本信息:|类名:AvoidArea;
方法or属性:visible: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:AvoidArea;
方法or属性:leftRect: Rect;
旧版本信息:|类名:AvoidArea;
方法or属性:leftRect: Rect;
新版本信息:Rect|@ohos.window.d.ts| |type有变化|类名:AvoidArea;
方法or属性:topRect: Rect;
旧版本信息:|类名:AvoidArea;
方法or属性:topRect: Rect;
新版本信息:Rect|@ohos.window.d.ts| |type有变化|类名:AvoidArea;
方法or属性:rightRect: Rect;
旧版本信息:|类名:AvoidArea;
方法or属性:rightRect: Rect;
新版本信息:Rect|@ohos.window.d.ts| |type有变化|类名:AvoidArea;
方法or属性:bottomRect: Rect;
旧版本信息:|类名:AvoidArea;
方法or属性:bottomRect: Rect;
新版本信息:Rect|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:windowRect: Rect;
旧版本信息:|类名:WindowProperties;
方法or属性:windowRect: Rect;
新版本信息:Rect|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:isFullScreen: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isFullScreen: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:isLayoutFullScreen: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isLayoutFullScreen: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:focusable: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:focusable: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:touchable: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:touchable: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:brightness: number;
旧版本信息:|类名:WindowProperties;
方法or属性:brightness: number;
新版本信息:number|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:dimBehindValue: number;
旧版本信息:|类名:WindowProperties;
方法or属性:dimBehindValue: number;
新版本信息:number|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:isKeepScreenOn: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isKeepScreenOn: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:isPrivacyMode: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isPrivacyMode: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:isRoundCorner: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isRoundCorner: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:isTransparent: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isTransparent: boolean;
新版本信息:boolean|@ohos.window.d.ts| |type有变化|类名:WindowProperties;
方法or属性:id: number;
旧版本信息:|类名:WindowProperties;
方法or属性:id: number;
新版本信息:number|@ohos.window.d.ts| |type有变化|类名:RotateOptions;
方法or属性:x?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:x?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:TranslateOptions;
方法or属性:x?: number;
旧版本信息:|类名:TranslateOptions;
方法or属性:x?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:RotateOptions;
方法or属性:y?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:y?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:TranslateOptions;
方法or属性:y?: number;
旧版本信息:|类名:TranslateOptions;
方法or属性:y?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:RotateOptions;
方法or属性:pivotX?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:pivotX?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:RotateOptions;
方法or属性:pivotY?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:pivotY?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:RotateOptions;
方法or属性:z?: number;
旧版本信息:|类名:RotateOptions;
方法or属性:z?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:TranslateOptions;
方法or属性:z?: number;
旧版本信息:|类名:TranslateOptions;
方法or属性:z?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:TransitionContext;
方法or属性:toWindow: Window;
旧版本信息:|类名:TransitionContext;
方法or属性:toWindow: Window;
新版本信息:Window|@ohos.window.d.ts| |type有变化|类名:Configuration;
方法or属性:windowType: WindowType;
旧版本信息:|类名:Configuration;
方法or属性:windowType: WindowType;
新版本信息:WindowType|@ohos.window.d.ts| |type有变化|类名:Configuration;
方法or属性:ctx?: BaseContext;
旧版本信息:|类名:Configuration;
方法or属性:ctx?: BaseContext;
新版本信息:?BaseContext|@ohos.window.d.ts| |type有变化|类名:Configuration;
方法or属性:displayId?: number;
旧版本信息:|类名:Configuration;
方法or属性:displayId?: number;
新版本信息:?number|@ohos.window.d.ts| |type有变化|类名:Configuration;
方法or属性:parentId?: number;
旧版本信息:|类名:Configuration;
方法or属性:parentId?: number;
新版本信息:?number|@ohos.window.d.ts| |跨平台能力有变化|类名:display;
方法or属性:declare display
旧版本信息:|类名:display;
方法or属性:declare display
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:display;
方法or属性:function getDefaultDisplaySync(): Display;
旧版本信息:|类名:display;
方法or属性:function getDefaultDisplaySync(): Display;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Display;
方法or属性:interface Display
旧版本信息:|类名:Display;
方法or属性:interface Display
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Display;
方法or属性:id: number;
旧版本信息:|类名:Display;
方法or属性:id: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Display;
方法or属性:width: number;
旧版本信息:|类名:Display;
方法or属性:width: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Display;
方法or属性:height: number;
旧版本信息:|类名:Display;
方法or属性:height: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:window;
方法or属性:declare window
旧版本信息:|类名:window;
方法or属性:declare window
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:window;
方法or属性:function findWindow(name: string): Window;
旧版本信息:|类名:window;
方法or属性:function findWindow(name: string): Window;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:window;
方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback\): void;
旧版本信息:|类名:window;
方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:window;
方法or属性:function getLastWindow(ctx: BaseContext): Promise\;
旧版本信息:|类名:window;
方法or属性:function getLastWindow(ctx: BaseContext): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:interface Rect
旧版本信息:|类名:Rect;
方法or属性:interface Rect
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:left: number;
旧版本信息:|类名:Rect;
方法or属性:left: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:top: number;
旧版本信息:|类名:Rect;
方法or属性:top: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:width: number;
旧版本信息:|类名:Rect;
方法or属性:width: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Size;
方法or属性:width: number;
旧版本信息:|类名:Size;
方法or属性:width: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:height: number;
旧版本信息:|类名:Rect;
方法or属性:height: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Size;
方法or属性:height: number;
旧版本信息:|类名:Size;
方法or属性:height: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Size;
方法or属性:interface Size
旧版本信息:|类名:Size;
方法or属性:interface Size
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowProperties;
方法or属性:interface WindowProperties
旧版本信息:|类名:WindowProperties;
方法or属性:interface WindowProperties
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowProperties;
方法or属性:windowRect: Rect;
旧版本信息:|类名:WindowProperties;
方法or属性:windowRect: Rect;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowProperties;
方法or属性:brightness: number;
旧版本信息:|类名:WindowProperties;
方法or属性:brightness: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowProperties;
方法or属性:isKeepScreenOn: boolean;
旧版本信息:|类名:WindowProperties;
方法or属性:isKeepScreenOn: boolean;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:enum Orientation
旧版本信息:|类名:Orientation;
方法or属性:enum Orientation
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:UNSPECIFIED = 0
旧版本信息:|类名:Orientation;
方法or属性:UNSPECIFIED = 0
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:PORTRAIT = 1
旧版本信息:|类名:Orientation;
方法or属性:PORTRAIT = 1
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:LANDSCAPE = 2
旧版本信息:|类名:Orientation;
方法or属性:LANDSCAPE = 2
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:PORTRAIT_INVERTED = 3
旧版本信息:|类名:Orientation;
方法or属性:PORTRAIT_INVERTED = 3
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:LANDSCAPE_INVERTED = 4
旧版本信息:|类名:Orientation;
方法or属性:LANDSCAPE_INVERTED = 4
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:showWindow(callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:showWindow(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:showWindow(): Promise\;
旧版本信息:|类名:Window;
方法or属性:showWindow(): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:destroyWindow(callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:destroyWindow(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:destroyWindow(): Promise\;
旧版本信息:|类名:Window;
方法or属性:destroyWindow(): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:moveWindowTo(x: number, y: number): Promise\;
旧版本信息:|类名:Window;
方法or属性:moveWindowTo(x: number, y: number): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:resize(width: number, height: number): Promise\;
旧版本信息:|类名:Window;
方法or属性:resize(width: number, height: number): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:resize(width: number, height: number, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:resize(width: number, height: number, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:getWindowProperties(): WindowProperties;
旧版本信息:|类名:Window;
方法or属性:getWindowProperties(): WindowProperties;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>): Promise\;
旧版本信息:|类名:Window;
方法or属性:setWindowSystemBarEnable(names: Array\<'status' \| 'navigation'>): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setPreferredOrientation(orientation: Orientation): Promise\;
旧版本信息:|类名:Window;
方法or属性:setPreferredOrientation(orientation: Orientation): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\): void;
旧版本信息:|类名:WindowStage;
方法or属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:loadContent(path: string, storage: LocalStorage): Promise\;
旧版本信息:|类名:Window;
方法or属性:loadContent(path: string, storage: LocalStorage): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setUIContent(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:setUIContent(path: string, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setUIContent(path: string): Promise\;
旧版本信息:|类名:Window;
方法or属性:setUIContent(path: string): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:isWindowShowing(): boolean;
旧版本信息:|类名:Window;
方法or属性:isWindowShowing(): boolean;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowBackgroundColor(color: string): void;
旧版本信息:|类名:Window;
方法or属性:setWindowBackgroundColor(color: string): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowBrightness(brightness: number): Promise\;
旧版本信息:|类名:Window;
方法or属性:setWindowBrightness(brightness: number): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise\;
旧版本信息:|类名:Window;
方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Window;
方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\): void;
旧版本信息:|类名:Window;
方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStageEventType;
方法or属性:enum WindowStageEventType
旧版本信息:|类名:WindowStageEventType;
方法or属性:enum WindowStageEventType
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStageEventType;
方法or属性:SHOWN = 1
旧版本信息:|类名:WindowStageEventType;
方法or属性:SHOWN = 1
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStageEventType;
方法or属性:ACTIVE
旧版本信息:|类名:WindowStageEventType;
方法or属性:ACTIVE
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStageEventType;
方法or属性:INACTIVE
旧版本信息:|类名:WindowStageEventType;
方法or属性:INACTIVE
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStageEventType;
方法or属性:HIDDEN
旧版本信息:|类名:WindowStageEventType;
方法or属性:HIDDEN
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:interface WindowStage
旧版本信息:|类名:WindowStage;
方法or属性:interface WindowStage
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:getMainWindow(): Promise\;
旧版本信息:|类名:WindowStage;
方法or属性:getMainWindow(): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:getMainWindow(callback: AsyncCallback\): void;
旧版本信息:|类名:WindowStage;
方法or属性:getMainWindow(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:getMainWindowSync(): Window;
旧版本信息:|类名:WindowStage;
方法or属性:getMainWindowSync(): Window;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:createSubWindow(name: string): Promise\;
旧版本信息:|类名:WindowStage;
方法or属性:createSubWindow(name: string): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:createSubWindow(name: string, callback: AsyncCallback\): void;
旧版本信息:|类名:WindowStage;
方法or属性:createSubWindow(name: string, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:getSubWindow(): Promise\>;
旧版本信息:|类名:WindowStage;
方法or属性:getSubWindow(): Promise\>;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:getSubWindow(callback: AsyncCallback\>): void;
旧版本信息:|类名:WindowStage;
方法or属性:getSubWindow(callback: AsyncCallback\>): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:loadContent(path: string, storage?: LocalStorage): Promise\;
旧版本信息:|类名:WindowStage;
方法or属性:loadContent(path: string, storage?: LocalStorage): Promise\;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:loadContent(path: string, callback: AsyncCallback\): void;
旧版本信息:|类名:WindowStage;
方法or属性:loadContent(path: string, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:on(eventType: 'windowStageEvent', callback: Callback\): void;
旧版本信息:|类名:WindowStage;
方法or属性:on(eventType: 'windowStageEvent', callback: Callback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowStage;
方法or属性:off(eventType: 'windowStageEvent', callback?: Callback\): void;
旧版本信息:|类名:WindowStage;
方法or属性:off(eventType: 'windowStageEvent', callback?: Callback\): void;
新版本信息:crossplatform|@ohos.window.d.ts|