| Change Type | Old Version | New Version | d.ts File | | ---- | ------ | ------ | -------- | |Added|NA|Class name: Window;
Method or attribute name: getUIContext() : UIContext;|@ohos.window.d.ts| |Error code added|Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
Old version information: |Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
New version information: 1400001|@ohos.screen.d.ts| |Error code added|Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
New version information: 401,1400001|@ohos.screen.d.ts| |Error code added|Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
New version information: 401,1400001|@ohos.screen.d.ts| |Error code added|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
New version information: 201,401,1400001|@ohos.screen.d.ts| |Error code added|Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
New version information: 401,1400002|@ohos.screen.d.ts| |Error code added|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
New version information: 201,401,1400001|@ohos.screen.d.ts| |Error code added|Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
New version information: 401|@ohos.screen.d.ts| |Error code added|Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
New version information: 401,1400003|@ohos.screen.d.ts| |Error code added|Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
New version information: 401,1400003|@ohos.screen.d.ts| |Error code added|Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
New version information: 401,1400003|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function getAllScreens(callback: AsyncCallback\>): void;
Old version information: |Class name: screen;
Method or attribute name: function getAllScreens(callback: AsyncCallback\>): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
Old version information: |Class name: screen;
Method or attribute name: function getAllScreens(): Promise\>;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\): void;
Old version information: |Class name: screen;
Method or attribute name: function on(eventType: 'connect' \| 'disconnect' \| 'change', callback: Callback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\): void;
Old version information: |Class name: screen;
Method or attribute name: function off(eventType: 'connect' \| 'disconnect' \| 'change', callback?: Callback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function makeExpand(options: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function makeExpand(options: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeExpand(options: Array\): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array\): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function isScreenRotationLocked(callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function isScreenRotationLocked(callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function isScreenRotationLocked(): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function isScreenRotationLocked(): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\): void;
Old version information: |Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ExpandOption;
Method or attribute name: interface ExpandOption
Old version information: |Class name: ExpandOption;
Method or attribute name: interface ExpandOption
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ExpandOption;
Method or attribute name: screenId: number;
Old version information: |Class name: ExpandOption;
Method or attribute name: screenId: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ExpandOption;
Method or attribute name: startX: number;
Old version information: |Class name: ExpandOption;
Method or attribute name: startX: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ExpandOption;
Method or attribute name: startY: number;
Old version information: |Class name: ExpandOption;
Method or attribute name: startY: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: VirtualScreenOption;
Method or attribute name: interface VirtualScreenOption
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: interface VirtualScreenOption
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: VirtualScreenOption;
Method or attribute name: name: string;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: name: string;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: VirtualScreenOption;
Method or attribute name: width: number;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: width: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: VirtualScreenOption;
Method or attribute name: height: number;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: height: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: VirtualScreenOption;
Method or attribute name: density: number;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: density: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: VirtualScreenOption;
Method or attribute name: surfaceId: string;
Old version information: |Class name: VirtualScreenOption;
Method or attribute name: surfaceId: string;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ScreenSourceMode;
Method or attribute name: enum ScreenSourceMode
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: enum ScreenSourceMode
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MAIN = 0
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MAIN = 0
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MIRROR = 1
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MIRROR = 1
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_EXTEND = 2
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_EXTEND = 2
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ScreenSourceMode;
Method or attribute name: SCREEN_ALONE = 3
Old version information: |Class name: ScreenSourceMode;
Method or attribute name: SCREEN_ALONE = 3
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: interface Screen
Old version information: |Class name: Screen;
Method or attribute name: interface Screen
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: readonly id: number;
Old version information: |Class name: Screen;
Method or attribute name: readonly id: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: readonly parent: number;
Old version information: |Class name: Screen;
Method or attribute name: readonly parent: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: readonly supportedModeInfo: Array\;
Old version information: |Class name: Screen;
Method or attribute name: readonly supportedModeInfo: Array\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: readonly activeModeIndex: number;
Old version information: |Class name: Screen;
Method or attribute name: readonly activeModeIndex: number;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: readonly orientation: Orientation;
Old version information: |Class name: Screen;
Method or attribute name: readonly orientation: Orientation;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: readonly sourceMode: ScreenSourceMode;
Old version information: |Class name: Screen;
Method or attribute name: readonly sourceMode: ScreenSourceMode;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation, callback: AsyncCallback\): void;
Old version information: |Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number, callback: AsyncCallback\): void;
Old version information: |Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number, callback: AsyncCallback\): void;
Old version information: |Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number, callback: AsyncCallback\): void;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
Old version information: |Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise\;
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: Orientation;
Method or attribute name: enum Orientation
Old version information: |Class name: Orientation;
Method or attribute name: enum Orientation
New version information: systemapi|@ohos.screen.d.ts| |Access level changed|Class name: ScreenModeInfo;
Method or attribute name: interface ScreenModeInfo
Old version information: |Class name: ScreenModeInfo;
Method or attribute name: interface ScreenModeInfo
New version information: systemapi|@ohos.screen.d.ts| |Permission changed|Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise\;
New version information: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| |Permission changed|Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
Old version information: |Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise\;
New version information: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts| |Function changed|Class name: Window;
Method or attribute name: off(type: 'windowEvent',callback:Callback\):void;|Class name: Window;
Method or attribute name: off(type:'windowEvent',callback?: Callback\