Change Type Old Version New Version d.ts File
Added NA Class name: sourcefile;
Method or attribute name: export type WindowExtensionContext = _WindowExtensionContext;
@ohos.application.WindowExtensionAbility.d.ts
Added NA Class name: display;
Method or attribute name: function on(type: 'privateModeChange', callback: Callback<boolean>): void;
@ohos.display.d.ts
Added NA Class name: display;
Method or attribute name: function off(type: 'privateModeChange', callback?: Callback<boolean>): void;
@ohos.display.d.ts
Added NA Class name: Orientation;
Method or attribute name: PORTRAIT = 0
@ohos.display.d.ts
Added NA Class name: Orientation;
Method or attribute name: LANDSCAPE = 1
@ohos.display.d.ts
Added NA Class name: Orientation;
Method or attribute name: PORTRAIT_INVERTED = 2
@ohos.display.d.ts
Added NA Class name: Orientation;
Method or attribute name: LANDSCAPE_INVERTED = 3
@ohos.display.d.ts
Added NA Class name: Display;
Method or attribute name: orientation: Orientation;
@ohos.display.d.ts
Added NA Class name: screen;
Method or attribute name: function stopExpand(expandScreen: Array<number>, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
Added NA Class name: screen;
Method or attribute name: function stopExpand(expandScreen: Array<number>): Promise<void>;
@ohos.screen.d.ts
Added NA Class name: screen;
Method or attribute name: function stopMirror(mirrorScreen: Array<number>, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
Added NA Class name: screen;
Method or attribute name: function stopMirror(mirrorScreen: Array<number>): Promise<void>;
@ohos.screen.d.ts
Added NA Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MAIN = 0
@ohos.screen.d.ts
Added NA Class name: ScreenSourceMode;
Method or attribute name: SCREEN_MIRROR = 1
@ohos.screen.d.ts
Added NA Class name: ScreenSourceMode;
Method or attribute name: SCREEN_EXTEND = 2
@ohos.screen.d.ts
Added NA Class name: ScreenSourceMode;
Method or attribute name: SCREEN_ALONE = 3
@ohos.screen.d.ts
Added NA Class name: Screen;
Method or attribute name: readonly sourceMode: ScreenSourceMode;
@ohos.screen.d.ts
Added NA Class name: window;
Method or attribute name: function setGestureNavigationEnabled(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function setGestureNavigationEnabled(enable: boolean): Promise<void>;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean): Promise<void>;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function on(type: 'gestureNavigationEnabledChange', callback: Callback<boolean>): void;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function on(type: 'waterMarkFlagChange', callback: Callback<boolean>): void;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function off(type: 'gestureNavigationEnabledChange', callback?: Callback<boolean>): void;
@ohos.window.d.ts
Added NA Class name: window;
Method or attribute name: function off(type: 'waterMarkFlagChange', callback?: Callback<boolean>): void;
@ohos.window.d.ts
Added NA Class name: WindowEventType;
Method or attribute name: WINDOW_SHOWN = 1
@ohos.window.d.ts
Added NA Class name: WindowEventType;
Method or attribute name: WINDOW_ACTIVE = 2
@ohos.window.d.ts
Added NA Class name: WindowEventType;
Method or attribute name: WINDOW_INACTIVE = 3
@ohos.window.d.ts
Added NA Class name: WindowEventType;
Method or attribute name: WINDOW_HIDDEN = 4
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: getUIContext() : UIContext;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: on(type: 'dialogTargetTouch', callback: Callback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: on(type: 'windowEvent', callback: Callback<WindowEventType>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: off(type: 'dialogTargetTouch', callback?: Callback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: off(type: 'windowEvent', callback?: Callback<WindowEventType>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: raiseToAppTop(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: raiseToAppTop(): Promise<void>;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: setAspectRatio(ratio: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: setAspectRatio(ratio: number): Promise<void>;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: resetAspectRatio(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: resetAspectRatio(): Promise<void>;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: setWaterMarkFlag(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window;
Method or attribute name: setWaterMarkFlag(enable: boolean): Promise<void>;
@ohos.window.d.ts
Error code added Class name: screen;
Method or attribute name: function getAllScreens(): Promise<Array<Screen>>;
Old version information:
Class name: screen;
Method or attribute name: function getAllScreens(): Promise<Array<Screen>>;
New version information: 1400001
@ohos.screen.d.ts
Error code added Class name: screen;
Method or attribute name: function makeExpand(options: Array<ExpandOption>): Promise<number>;
Old version information:
Class name: screen;
Method or attribute name: function makeExpand(options: Array<ExpandOption>): Promise<number>;
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<number>): Promise<number>;
Old version information:
Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array<number>): Promise<number>;
New version information: 401, 1400001
@ohos.screen.d.ts
Error code added Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise<Screen>;
Old version information:
Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise<Screen>;
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<void>;
Old version information:
Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise<void>;
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<void>;
Old version information:
Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise<void>;
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<void>;
Old version information:
Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise<void>;
New version information: 401
@ohos.screen.d.ts
Error code added Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise<void>;
Old version information:
Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise<void>;
New version information: 401, 1400003
@ohos.screen.d.ts
Error code added Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise<void>;
Old version information:
Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise<void>;
New version information: 401, 1400003
@ohos.screen.d.ts
Error code added Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise<void>;
Old version information:
Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise<void>;
New version information: 401, 1400003
@ohos.screen.d.ts
Error code changed Class name: window;
Method or attribute name: function createWindow(config: Configuration, callback: AsyncCallback<Window>): void;
Old version information: 201,401, 1300001, 1300006
Class name: window;
Method or attribute name: function createWindow(config: Configuration, callback: AsyncCallback<Window>): void;
New version information: 201,401, 1300001, 1300006, 1300008, 1300009
@ohos.window.d.ts
Error code changed Class name: window;
Method or attribute name: function createWindow(config: Configuration): Promise<Window>;
Old version information: 201,401, 1300001, 1300006
Class name: window;
Method or attribute name: function createWindow(config: Configuration): Promise<Window>;
New version information: 201,401, 1300001, 1300006, 1300008, 1300009
@ohos.window.d.ts
Error code changed Class name: window;
Method or attribute name: function findWindow(name: string): Window;
Old version information: 401
Class name: window;
Method or attribute name: function findWindow(name: string): Window;
New version information: 401, 1300002
@ohos.window.d.ts
Error code changed Class name: Window;
Method or attribute name: setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;
Old version information: 401, 1300002, 1300003
Class name: Window;
Method or attribute name: setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;
New version information: 401,801, 1300002, 1300003
@ohos.window.d.ts
Error code changed Class name: Window;
Method or attribute name: setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise<void>;
Old version information: 401, 1300002, 1300003
Class name: Window;
Method or attribute name: setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise<void>;
New version information: 401,801, 1300002, 1300003
@ohos.window.d.ts
Access level changed Class name: RRect;
Method or attribute name: left: number;
Old version information:
Class name: RRect;
Method or attribute name: left: number;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: RRect;
Method or attribute name: top: number;
Old version information:
Class name: RRect;
Method or attribute name: top: number;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: RRect;
Method or attribute name: width: number;
Old version information:
Class name: RRect;
Method or attribute name: width: number;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: RRect;
Method or attribute name: height: number;
Old version information:
Class name: RRect;
Method or attribute name: height: number;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: RRect;
Method or attribute name: radius: number;
Old version information:
Class name: RRect;
Method or attribute name: radius: number;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
New version information: systemapi
@ohos.animation.windowAnimationManager.d.ts
Access level changed Class name: screen;
Method or attribute name: function getAllScreens(callback: AsyncCallback<Array<Screen>>): void;
Old version information:
Class name: screen;
Method or attribute name: function getAllScreens(callback: AsyncCallback<Array<Screen>>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function getAllScreens(): Promise<Array<Screen>>;
Old version information:
Class name: screen;
Method or attribute name: function getAllScreens(): Promise<Array<Screen>>;
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<number>): void;
Old version information:
Class name: screen;
Method or attribute name: function on(eventType: 'connect' | 'disconnect' | 'change', callback: Callback<number>): 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<number>): void;
Old version information:
Class name: screen;
Method or attribute name: function off(eventType: 'connect' | 'disconnect' | 'change', callback?: Callback<number>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function makeExpand(options: Array<ExpandOption>, callback: AsyncCallback<number>): void;
Old version information:
Class name: screen;
Method or attribute name: function makeExpand(options: Array<ExpandOption>, callback: AsyncCallback<number>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function makeExpand(options: Array<ExpandOption>): Promise<number>;
Old version information:
Class name: screen;
Method or attribute name: function makeExpand(options: Array<ExpandOption>): Promise<number>;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array<number>, callback: AsyncCallback<number>): void;
Old version information:
Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array<number>, callback: AsyncCallback<number>): 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<number>): Promise<number>;
Old version information:
Class name: screen;
Method or attribute name: function makeMirror(mainScreen: number, mirrorScreen: Array<number>): Promise<number>;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback<Screen>): void;
Old version information:
Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption, callback: AsyncCallback<Screen>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise<Screen>;
Old version information:
Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise<Screen>;
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>): void;
Old version information:
Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise<void>;
Old version information:
Class name: screen;
Method or attribute name: function destroyVirtualScreen(screenId: number): Promise<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, callback: AsyncCallback<void>): void;
Old version information:
Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string, callback: AsyncCallback<void>): 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<void>;
Old version information:
Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise<void>;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function isScreenRotationLocked(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: screen;
Method or attribute name: function isScreenRotationLocked(callback: AsyncCallback<boolean>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function isScreenRotationLocked(): Promise<boolean>;
Old version information:
Class name: screen;
Method or attribute name: function isScreenRotationLocked(): Promise<boolean>;
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>): void;
Old version information:
Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise<void>;
Old version information:
Class name: screen;
Method or attribute name: function setScreenRotationLocked(isLocked: boolean): Promise<void>;
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: 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<ScreenModeInfo>;
Old version information:
Class name: Screen;
Method or attribute name: readonly supportedModeInfo: Array<ScreenModeInfo>;
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: setOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;
Old version information:
Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise<void>;
Old version information:
Class name: Screen;
Method or attribute name: setOrientation(orientation: Orientation): Promise<void>;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise<void>;
Old version information:
Class name: Screen;
Method or attribute name: setScreenActiveMode(modeIndex: number): Promise<void>;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number, callback: AsyncCallback<void>): void;
New version information: systemapi
@ohos.screen.d.ts
Access level changed Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise<void>;
Old version information:
Class name: Screen;
Method or attribute name: setDensityDpi(densityDpi: number): Promise<void>;
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
Access level changed Class name: screenshot;
Method or attribute name: function save(options: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void;
Old version information:
Class name: screenshot;
Method or attribute name: function save(options: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: screenshot;
Method or attribute name: function save(callback: AsyncCallback<image.PixelMap>): void;
Old version information:
Class name: screenshot;
Method or attribute name: function save(callback: AsyncCallback<image.PixelMap>): void;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: screenshot;
Method or attribute name: function save(options?: ScreenshotOptions): Promise<image.PixelMap>;
Old version information:
Class name: screenshot;
Method or attribute name: function save(options?: ScreenshotOptions): Promise<image.PixelMap>;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: Rect;
Method or attribute name: interface Rect
Old version information:
Class name: Rect;
Method or attribute name: interface Rect
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: Size;
Method or attribute name: interface Size
Old version information:
Class name: Size;
Method or attribute name: interface Size
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: ScreenshotOptions;
Method or attribute name: interface ScreenshotOptions
Old version information:
Class name: ScreenshotOptions;
Method or attribute name: interface ScreenshotOptions
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: ScreenshotOptions;
Method or attribute name: screenRect?: Rect;
Old version information:
Class name: ScreenshotOptions;
Method or attribute name: screenRect?: Rect;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: ScreenshotOptions;
Method or attribute name: imageSize?: Size;
Old version information:
Class name: ScreenshotOptions;
Method or attribute name: imageSize?: Size;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: ScreenshotOptions;
Method or attribute name: rotation?: number;
Old version information:
Class name: ScreenshotOptions;
Method or attribute name: rotation?: number;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: ScreenshotOptions;
Method or attribute name: displayId?: number;
Old version information:
Class name: ScreenshotOptions;
Method or attribute name: displayId?: number;
New version information: systemapi
@ohos.screenshot.d.ts
Access level changed Class name: WindowType;
Method or attribute name: TYPE_DIALOG
Old version information: systemapi
Class name: WindowType;
Method or attribute name: TYPE_DIALOG
New version information:
@ohos.window.d.ts
Access level changed Class name: SystemBarRegionTint;
Method or attribute name: type: WindowType;
Old version information:
Class name: SystemBarRegionTint;
Method or attribute name: type: WindowType;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: SystemBarRegionTint;
Method or attribute name: isEnable?: boolean;
Old version information:
Class name: SystemBarRegionTint;
Method or attribute name: isEnable?: boolean;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: SystemBarRegionTint;
Method or attribute name: region?: Rect;
Old version information:
Class name: SystemBarRegionTint;
Method or attribute name: region?: Rect;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: SystemBarRegionTint;
Method or attribute name: backgroundColor?: string;
Old version information:
Class name: SystemBarRegionTint;
Method or attribute name: backgroundColor?: string;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: SystemBarRegionTint;
Method or attribute name: contentColor?: string;
Old version information:
Class name: SystemBarRegionTint;
Method or attribute name: contentColor?: string;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: SystemBarTintState;
Method or attribute name: displayId: number;
Old version information:
Class name: SystemBarTintState;
Method or attribute name: displayId: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: SystemBarTintState;
Method or attribute name: regionTint: Array<SystemBarRegionTint>;
Old version information:
Class name: SystemBarTintState;
Method or attribute name: regionTint: Array<SystemBarRegionTint>;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: ScaleOptions;
Method or attribute name: x?: number;
Old version information:
Class name: ScaleOptions;
Method or attribute name: x?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: RotateOptions;
Method or attribute name: x?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: x?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TranslateOptions;
Method or attribute name: x?: number;
Old version information:
Class name: TranslateOptions;
Method or attribute name: x?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: ScaleOptions;
Method or attribute name: y?: number;
Old version information:
Class name: ScaleOptions;
Method or attribute name: y?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: RotateOptions;
Method or attribute name: y?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: y?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TranslateOptions;
Method or attribute name: y?: number;
Old version information:
Class name: TranslateOptions;
Method or attribute name: y?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: ScaleOptions;
Method or attribute name: pivotX?: number;
Old version information:
Class name: ScaleOptions;
Method or attribute name: pivotX?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: RotateOptions;
Method or attribute name: pivotX?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: pivotX?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: ScaleOptions;
Method or attribute name: pivotY?: number;
Old version information:
Class name: ScaleOptions;
Method or attribute name: pivotY?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: RotateOptions;
Method or attribute name: pivotY?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: pivotY?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: RotateOptions;
Method or attribute name: z?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: z?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TranslateOptions;
Method or attribute name: z?: number;
Old version information:
Class name: TranslateOptions;
Method or attribute name: z?: number;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TransitionContext;
Method or attribute name: toWindow: Window;
Old version information:
Class name: TransitionContext;
Method or attribute name: toWindow: Window;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TransitionContext;
Method or attribute name: completeTransition(isCompleted: boolean): void;
Old version information:
Class name: TransitionContext;
Method or attribute name: completeTransition(isCompleted: boolean): void;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TransitionController;
Method or attribute name: animationForShown(context: TransitionContext): void;
Old version information:
Class name: TransitionController;
Method or attribute name: animationForShown(context: TransitionContext): void;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: TransitionController;
Method or attribute name: animationForHidden(context: TransitionContext): void;
Old version information:
Class name: TransitionController;
Method or attribute name: animationForHidden(context: TransitionContext): void;
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: BlurStyle;
Method or attribute name: OFF
Old version information:
Class name: BlurStyle;
Method or attribute name: OFF
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: BlurStyle;
Method or attribute name: THIN
Old version information:
Class name: BlurStyle;
Method or attribute name: THIN
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: BlurStyle;
Method or attribute name: REGULAR
Old version information:
Class name: BlurStyle;
Method or attribute name: REGULAR
New version information: systemapi
@ohos.window.d.ts
Access level changed Class name: BlurStyle;
Method or attribute name: THICK
Old version information:
Class name: BlurStyle;
Method or attribute name: THICK
New version information: systemapi
@ohos.window.d.ts
Permission changed Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise<Screen>;
Old version information:
Class name: screen;
Method or attribute name: function createVirtualScreen(options: VirtualScreenOption): Promise<Screen>;
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<void>;
Old version information:
Class name: screen;
Method or attribute name: function setVirtualScreenSurface(screenId: number, surfaceId: string): Promise<void>;
New version information: ohos.permission.CAPTURE_SCREEN
@ohos.screen.d.ts
Model changed Class name: WindowStageEventType;
Method or attribute name: SHOWN = 1
Old version information:
Class name: WindowStageEventType;
Method or attribute name: SHOWN = 1
New version information: StageModelOnly
@ohos.window.d.ts
Model changed Class name: WindowStageEventType;
Method or attribute name: ACTIVE
Old version information:
Class name: WindowStageEventType;
Method or attribute name: ACTIVE
New version information: StageModelOnly
@ohos.window.d.ts
Model changed Class name: WindowStageEventType;
Method or attribute name: INACTIVE
Old version information:
Class name: WindowStageEventType;
Method or attribute name: INACTIVE
New version information: StageModelOnly
@ohos.window.d.ts
Model changed Class name: WindowStageEventType;
Method or attribute name: HIDDEN
Old version information:
Class name: WindowStageEventType;
Method or attribute name: HIDDEN
New version information: StageModelOnly
@ohos.window.d.ts
Type changed Class name: RRect;
Method or attribute name: left: number;
Old version information:
Class name: RRect;
Method or attribute name: left: number;
New version information: number
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: RRect;
Method or attribute name: top: number;
Old version information:
Class name: RRect;
Method or attribute name: top: number;
New version information: number
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: RRect;
Method or attribute name: width: number;
Old version information:
Class name: RRect;
Method or attribute name: width: number;
New version information: number
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: RRect;
Method or attribute name: height: number;
Old version information:
Class name: RRect;
Method or attribute name: height: number;
New version information: number
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: RRect;
Method or attribute name: radius: number;
Old version information:
Class name: RRect;
Method or attribute name: radius: number;
New version information: number
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly bundleName: string;
New version information: string
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly abilityName: string;
New version information: string
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly windowBounds: RRect;
New version information: RRect
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
Old version information:
Class name: WindowAnimationTarget;
Method or attribute name: readonly missionId: number;
New version information: number
@ohos.animation.windowAnimationManager.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: type: WindowType;
Old version information:
Class name: WindowProperties;
Method or attribute name: type: WindowType;
New version information: WindowType
@ohos.window.d.ts
Type changed Class name: Size;
Method or attribute name: width: number;
Old version information:
Class name: Size;
Method or attribute name: width: number;
New version information: number
@ohos.window.d.ts
Type changed Class name: Size;
Method or attribute name: height: number;
Old version information:
Class name: Size;
Method or attribute name: height: number;
New version information: number
@ohos.window.d.ts
Type changed Class name: AvoidArea;
Method or attribute name: visible: boolean;
Old version information:
Class name: AvoidArea;
Method or attribute name: visible: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: AvoidArea;
Method or attribute name: leftRect: Rect;
Old version information:
Class name: AvoidArea;
Method or attribute name: leftRect: Rect;
New version information: Rect
@ohos.window.d.ts
Type changed Class name: AvoidArea;
Method or attribute name: topRect: Rect;
Old version information:
Class name: AvoidArea;
Method or attribute name: topRect: Rect;
New version information: Rect
@ohos.window.d.ts
Type changed Class name: AvoidArea;
Method or attribute name: rightRect: Rect;
Old version information:
Class name: AvoidArea;
Method or attribute name: rightRect: Rect;
New version information: Rect
@ohos.window.d.ts
Type changed Class name: AvoidArea;
Method or attribute name: bottomRect: Rect;
Old version information:
Class name: AvoidArea;
Method or attribute name: bottomRect: Rect;
New version information: Rect
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: windowRect: Rect;
Old version information:
Class name: WindowProperties;
Method or attribute name: windowRect: Rect;
New version information: Rect
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: isFullScreen: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isFullScreen: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: isLayoutFullScreen: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isLayoutFullScreen: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: focusable: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: focusable: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: touchable: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: touchable: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: brightness: number;
Old version information:
Class name: WindowProperties;
Method or attribute name: brightness: number;
New version information: number
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: dimBehindValue: number;
Old version information:
Class name: WindowProperties;
Method or attribute name: dimBehindValue: number;
New version information: number
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: isKeepScreenOn: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isKeepScreenOn: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: isPrivacyMode: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isPrivacyMode: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: isRoundCorner: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isRoundCorner: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: isTransparent: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isTransparent: boolean;
New version information: boolean
@ohos.window.d.ts
Type changed Class name: WindowProperties;
Method or attribute name: id: number;
Old version information:
Class name: WindowProperties;
Method or attribute name: id: number;
New version information: number
@ohos.window.d.ts
Type changed Class name: RotateOptions;
Method or attribute name: x?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: x?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: TranslateOptions;
Method or attribute name: x?: number;
Old version information:
Class name: TranslateOptions;
Method or attribute name: x?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: RotateOptions;
Method or attribute name: y?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: y?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: TranslateOptions;
Method or attribute name: y?: number;
Old version information:
Class name: TranslateOptions;
Method or attribute name: y?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: RotateOptions;
Method or attribute name: pivotX?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: pivotX?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: RotateOptions;
Method or attribute name: pivotY?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: pivotY?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: RotateOptions;
Method or attribute name: z?: number;
Old version information:
Class name: RotateOptions;
Method or attribute name: z?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: TranslateOptions;
Method or attribute name: z?: number;
Old version information:
Class name: TranslateOptions;
Method or attribute name: z?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: TransitionContext;
Method or attribute name: toWindow: Window;
Old version information:
Class name: TransitionContext;
Method or attribute name: toWindow: Window;
New version information: Window
@ohos.window.d.ts
Type changed Class name: Configuration;
Method or attribute name: windowType: WindowType;
Old version information:
Class name: Configuration;
Method or attribute name: windowType: WindowType;
New version information: WindowType
@ohos.window.d.ts
Type changed Class name: Configuration;
Method or attribute name: ctx?: BaseContext;
Old version information:
Class name: Configuration;
Method or attribute name: ctx?: BaseContext;
New version information: ?BaseContext
@ohos.window.d.ts
Type changed Class name: Configuration;
Method or attribute name: displayId?: number;
Old version information:
Class name: Configuration;
Method or attribute name: displayId?: number;
New version information: ?number
@ohos.window.d.ts
Type changed Class name: Configuration;
Method or attribute name: parentId?: number;
Old version information:
Class name: Configuration;
Method or attribute name: parentId?: number;
New version information: ?number
@ohos.window.d.ts
Cross-platform capability changed Class name: display;
Method or attribute name: declare display
Old version information:
Class name: display;
Method or attribute name: declare display
New version information: crossplatform
@ohos.display.d.ts
Cross-platform capability changed Class name: display;
Method or attribute name: function getDefaultDisplaySync(): Display;
Old version information:
Class name: display;
Method or attribute name: function getDefaultDisplaySync(): Display;
New version information: crossplatform
@ohos.display.d.ts
Cross-platform capability changed Class name: Display;
Method or attribute name: interface Display
Old version information:
Class name: Display;
Method or attribute name: interface Display
New version information: crossplatform
@ohos.display.d.ts
Cross-platform capability changed Class name: Display;
Method or attribute name: id: number;
Old version information:
Class name: Display;
Method or attribute name: id: number;
New version information: crossplatform
@ohos.display.d.ts
Cross-platform capability changed Class name: Display;
Method or attribute name: width: number;
Old version information:
Class name: Display;
Method or attribute name: width: number;
New version information: crossplatform
@ohos.display.d.ts
Cross-platform capability changed Class name: Display;
Method or attribute name: height: number;
Old version information:
Class name: Display;
Method or attribute name: height: number;
New version information: crossplatform
@ohos.display.d.ts
Cross-platform capability changed Class name: window;
Method or attribute name: declare window
Old version information:
Class name: window;
Method or attribute name: declare window
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: window;
Method or attribute name: function findWindow(name: string): Window;
Old version information:
Class name: window;
Method or attribute name: function findWindow(name: string): Window;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: window;
Method or attribute name: function getLastWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;
Old version information:
Class name: window;
Method or attribute name: function getLastWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: window;
Method or attribute name: function getLastWindow(ctx: BaseContext): Promise<Window>;
Old version information:
Class name: window;
Method or attribute name: function getLastWindow(ctx: BaseContext): Promise<Window>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Rect;
Method or attribute name: interface Rect
Old version information:
Class name: Rect;
Method or attribute name: interface Rect
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Rect;
Method or attribute name: left: number;
Old version information:
Class name: Rect;
Method or attribute name: left: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Rect;
Method or attribute name: top: number;
Old version information:
Class name: Rect;
Method or attribute name: top: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Rect;
Method or attribute name: width: number;
Old version information:
Class name: Rect;
Method or attribute name: width: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Size;
Method or attribute name: width: number;
Old version information:
Class name: Size;
Method or attribute name: width: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Rect;
Method or attribute name: height: number;
Old version information:
Class name: Rect;
Method or attribute name: height: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Size;
Method or attribute name: height: number;
Old version information:
Class name: Size;
Method or attribute name: height: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Size;
Method or attribute name: interface Size
Old version information:
Class name: Size;
Method or attribute name: interface Size
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowProperties;
Method or attribute name: interface WindowProperties
Old version information:
Class name: WindowProperties;
Method or attribute name: interface WindowProperties
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowProperties;
Method or attribute name: windowRect: Rect;
Old version information:
Class name: WindowProperties;
Method or attribute name: windowRect: Rect;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowProperties;
Method or attribute name: brightness: number;
Old version information:
Class name: WindowProperties;
Method or attribute name: brightness: number;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowProperties;
Method or attribute name: isKeepScreenOn: boolean;
Old version information:
Class name: WindowProperties;
Method or attribute name: isKeepScreenOn: boolean;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability 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: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Orientation;
Method or attribute name: UNSPECIFIED = 0
Old version information:
Class name: Orientation;
Method or attribute name: UNSPECIFIED = 0
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Orientation;
Method or attribute name: PORTRAIT = 1
Old version information:
Class name: Orientation;
Method or attribute name: PORTRAIT = 1
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Orientation;
Method or attribute name: LANDSCAPE = 2
Old version information:
Class name: Orientation;
Method or attribute name: LANDSCAPE = 2
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Orientation;
Method or attribute name: PORTRAIT_INVERTED = 3
Old version information:
Class name: Orientation;
Method or attribute name: PORTRAIT_INVERTED = 3
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Orientation;
Method or attribute name: LANDSCAPE_INVERTED = 4
Old version information:
Class name: Orientation;
Method or attribute name: LANDSCAPE_INVERTED = 4
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: showWindow(callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: showWindow(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: showWindow(): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: showWindow(): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: destroyWindow(callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: destroyWindow(callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: destroyWindow(): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: destroyWindow(): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: moveWindowTo(x: number, y: number): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: moveWindowTo(x: number, y: number): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: resize(width: number, height: number): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: resize(width: number, height: number): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: resize(width: number, height: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: resize(width: number, height: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: getWindowProperties(): WindowProperties;
Old version information:
Class name: Window;
Method or attribute name: getWindowProperties(): WindowProperties;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowSystemBarEnable(names: Array<'status' | 'navigation'>, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: setWindowSystemBarEnable(names: Array<'status' | 'navigation'>, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowSystemBarEnable(names: Array<'status' | 'navigation'>): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: setWindowSystemBarEnable(names: Array<'status' | 'navigation'>): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setPreferredOrientation(orientation: Orientation): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: setPreferredOrientation(orientation: Orientation): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setPreferredOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: setPreferredOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: loadContent(path: string, storage: LocalStorage): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: loadContent(path: string, storage: LocalStorage): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setUIContent(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: setUIContent(path: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setUIContent(path: string): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: setUIContent(path: string): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: isWindowShowing(): boolean;
Old version information:
Class name: Window;
Method or attribute name: isWindowShowing(): boolean;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowBackgroundColor(color: string): void;
Old version information:
Class name: Window;
Method or attribute name: setWindowBackgroundColor(color: string): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowBrightness(brightness: number): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: setWindowBrightness(brightness: number): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowBrightness(brightness: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: setWindowBrightness(brightness: number, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise<void>;
Old version information:
Class name: Window;
Method or attribute name: setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: Window;
Method or attribute name: setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void>): void;
Old version information:
Class name: Window;
Method or attribute name: setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStageEventType;
Method or attribute name: enum WindowStageEventType
Old version information:
Class name: WindowStageEventType;
Method or attribute name: enum WindowStageEventType
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStageEventType;
Method or attribute name: SHOWN = 1
Old version information:
Class name: WindowStageEventType;
Method or attribute name: SHOWN = 1
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStageEventType;
Method or attribute name: ACTIVE
Old version information:
Class name: WindowStageEventType;
Method or attribute name: ACTIVE
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStageEventType;
Method or attribute name: INACTIVE
Old version information:
Class name: WindowStageEventType;
Method or attribute name: INACTIVE
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStageEventType;
Method or attribute name: HIDDEN
Old version information:
Class name: WindowStageEventType;
Method or attribute name: HIDDEN
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: interface WindowStage
Old version information:
Class name: WindowStage;
Method or attribute name: interface WindowStage
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: getMainWindow(): Promise<Window>;
Old version information:
Class name: WindowStage;
Method or attribute name: getMainWindow(): Promise<Window>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: getMainWindow(callback: AsyncCallback<Window>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: getMainWindow(callback: AsyncCallback<Window>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: getMainWindowSync(): Window;
Old version information:
Class name: WindowStage;
Method or attribute name: getMainWindowSync(): Window;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: createSubWindow(name: string): Promise<Window>;
Old version information:
Class name: WindowStage;
Method or attribute name: createSubWindow(name: string): Promise<Window>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: createSubWindow(name: string, callback: AsyncCallback<Window>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: createSubWindow(name: string, callback: AsyncCallback<Window>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: getSubWindow(): Promise<Array<Window>>;
Old version information:
Class name: WindowStage;
Method or attribute name: getSubWindow(): Promise<Array<Window>>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: getSubWindow(callback: AsyncCallback<Array<Window>>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: getSubWindow(callback: AsyncCallback<Array<Window>>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: loadContent(path: string, storage?: LocalStorage): Promise<void>;
Old version information:
Class name: WindowStage;
Method or attribute name: loadContent(path: string, storage?: LocalStorage): Promise<void>;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: loadContent(path: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: loadContent(path: string, callback: AsyncCallback<void>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: on(eventType: 'windowStageEvent', callback: Callback<WindowStageEventType>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: on(eventType: 'windowStageEvent', callback: Callback<WindowStageEventType>): void;
New version information: crossplatform
@ohos.window.d.ts
Cross-platform capability changed Class name: WindowStage;
Method or attribute name: off(eventType: 'windowStageEvent', callback?: Callback<WindowStageEventType>): void;
Old version information:
Class name: WindowStage;
Method or attribute name: off(eventType: 'windowStageEvent', callback?: Callback<WindowStageEventType>): void;
New version information: crossplatform
@ohos.window.d.ts