| 操作 | 旧版本 | 新版本 | d.ts文件 | | ---- | ------ | ------ | -------- | |新增|NA|类名:Window;
方法or属性:getUIContext() : UIContext;|@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| |访问级别有变化|类名: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| |访问级别有变化|类名:ScreenSourceMode;
方法or属性:enum ScreenSourceMode
旧版本信息:|类名:ScreenSourceMode;
方法or属性:enum ScreenSourceMode
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ScreenSourceMode;
方法or属性:SCREEN_MAIN = 0
旧版本信息:|类名:ScreenSourceMode;
方法or属性:SCREEN_MAIN = 0
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ScreenSourceMode;
方法or属性:SCREEN_MIRROR = 1
旧版本信息:|类名:ScreenSourceMode;
方法or属性:SCREEN_MIRROR = 1
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ScreenSourceMode;
方法or属性:SCREEN_EXTEND = 2
旧版本信息:|类名:ScreenSourceMode;
方法or属性:SCREEN_EXTEND = 2
新版本信息:systemapi|@ohos.screen.d.ts| |访问级别有变化|类名:ScreenSourceMode;
方法or属性:SCREEN_ALONE = 3
旧版本信息:|类名:ScreenSourceMode;
方法or属性:SCREEN_ALONE = 3
新版本信息: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属性:readonly sourceMode: ScreenSourceMode;
旧版本信息:|类名:Screen;
方法or属性:readonly sourceMode: ScreenSourceMode;
新版本信息: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| |权限有变化|类名: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| |跨平台能力有变化|类名: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| |跨平台能力有变化|类名:Orientation;
方法or属性:enum Orientation
旧版本信息:|类名:Orientation;
方法or属性:enum Orientation
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:PORTRAIT = 0
旧版本信息:|类名:Orientation;
方法or属性:PORTRAIT = 0
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:LANDSCAPE = 1
旧版本信息:|类名:Orientation;
方法or属性:LANDSCAPE = 1
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:PORTRAIT_INVERTED = 2
旧版本信息:|类名:Orientation;
方法or属性:PORTRAIT_INVERTED = 2
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Orientation;
方法or属性:LANDSCAPE_INVERTED = 3
旧版本信息:|类名:Orientation;
方法or属性:LANDSCAPE_INVERTED = 3
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:interface Rect
旧版本信息:|类名:Rect;
方法or属性:interface Rect
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:left: number;
旧版本信息:|类名:Rect;
方法or属性:left: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:top: number;
旧版本信息:|类名:Rect;
方法or属性:top: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:width: number;
旧版本信息:|类名:Rect;
方法or属性:width: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Display;
方法or属性:width: number;
旧版本信息:|类名:Display;
方法or属性:width: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Rect;
方法or属性:height: number;
旧版本信息:|类名:Rect;
方法or属性:height: number;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:Display;
方法or属性:height: number;
旧版本信息:|类名:Display;
方法or属性:height: number;
新版本信息: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属性:orientation: Orientation;
旧版本信息:|类名:Display;
方法or属性:orientation: Orientation;
新版本信息:crossplatform|@ohos.display.d.ts| |跨平台能力有变化|类名:window;
方法or属性:declare window
旧版本信息:|类名:window;
方法or属性:declare window
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:window;
方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\): void;
旧版本信息:|类名:window;
方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:window;
方法or属性:function createWindow(config: Configuration): Promise\;
旧版本信息:|类名:window;
方法or属性:function createWindow(config: Configuration): Promise\;
新版本信息: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| |跨平台能力有变化|类名:WindowType;
方法or属性:enum WindowType
旧版本信息:|类名:WindowType;
方法or属性:enum WindowType
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:WindowType;
方法or属性:TYPE_APP
旧版本信息:|类名:WindowType;
方法or属性:TYPE_APP
新版本信息: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属性:type: WindowType;
旧版本信息:|类名:WindowProperties;
方法or属性:type: WindowType;
新版本信息: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| |跨平台能力有变化|类名:Configuration;
方法or属性:interface Configuration
旧版本信息:|类名:Configuration;
方法or属性:interface Configuration
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Configuration;
方法or属性:name: string;
旧版本信息:|类名:Configuration;
方法or属性:name: string;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Configuration;
方法or属性:windowType: WindowType;
旧版本信息:|类名:Configuration;
方法or属性:windowType: WindowType;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Configuration;
方法or属性:ctx?: BaseContext;
旧版本信息:|类名:Configuration;
方法or属性:ctx?: BaseContext;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Configuration;
方法or属性:displayId?: number;
旧版本信息:|类名:Configuration;
方法or属性:displayId?: number;
新版本信息:crossplatform|@ohos.window.d.ts| |跨平台能力有变化|类名:Configuration;
方法or属性:parentId?: number;
旧版本信息:|类名:Configuration;
方法or属性:parentId?: number;
新版本信息: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| |跨平台能力有变化|类名: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|