操作 旧版本 新版本 d.ts文件
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: windowAnimationManager
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: windowAnimationManager
方法 or 属性: function setController(controller: WindowAnimationController): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: windowAnimationManager
方法 or 属性: function minimizeWindowWithAnimation(windowTarget: WindowAnimationTarget,
callback: AsyncCallback<WindowAnimationFinishedCallback>): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: windowAnimationManager
方法 or 属性: function minimizeWindowWithAnimation(windowTarget: WindowAnimationTarget): Promise<WindowAnimationFinishedCallback>;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: RRect
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: RRect
方法 or 属性: left: number;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: RRect
方法 or 属性: top: number;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: RRect
方法 or 属性: width: number;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: RRect
方法 or 属性: height: number;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: RRect
方法 or 属性: radius: number;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationTarget
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationTarget
方法 or 属性: readonly bundleName: string;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationTarget
方法 or 属性: readonly abilityName: string;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationTarget
方法 or 属性: readonly windowBounds: RRect;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationTarget
方法 or 属性: readonly missionId: number;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationFinishedCallback
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationFinishedCallback
方法 or 属性: onAnimationFinish(): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onStartAppFromLauncher(startingWindowTarget: WindowAnimationTarget,
finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onStartAppFromRecent(startingWindowTarget: WindowAnimationTarget,
finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onStartAppFromOther(startingWindowTarget: WindowAnimationTarget,
finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onAppTransition(fromWindowTarget: WindowAnimationTarget, toWindowTarget: WindowAnimationTarget,
finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onMinimizeWindow(minimizingWindowTarget: WindowAnimationTarget,
finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onCloseWindow(closingWindowTarget: WindowAnimationTarget, finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onScreenUnlock(finishCallback: WindowAnimationFinishedCallback): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.animation.windowAnimationManager
类名: WindowAnimationController
方法 or 属性: onWindowAnimationTargetsUpdate(fullScreenWindowTarget: WindowAnimationTarget,
floatingWindowTargets: Array<WindowAnimationTarget>): void;
@ohos.animation.windowAnimationManager.d.ts
新增 NA 模块名: ohos.application.WindowExtensionAbility
类名: WindowExtensionAbility
@ohos.application.WindowExtensionAbility.d.ts
新增 NA 模块名: ohos.application.WindowExtensionAbility
类名: WindowExtensionAbility
方法 or 属性: context: WindowExtensionContext;
@ohos.application.WindowExtensionAbility.d.ts
新增 NA 模块名: ohos.application.WindowExtensionAbility
类名: WindowExtensionAbility
方法 or 属性: onConnect(want: Want): void;
@ohos.application.WindowExtensionAbility.d.ts
新增 NA 模块名: ohos.application.WindowExtensionAbility
类名: WindowExtensionAbility
方法 or 属性: onDisconnect(want: Want): void;
@ohos.application.WindowExtensionAbility.d.ts
新增 NA 模块名: ohos.application.WindowExtensionAbility
类名: WindowExtensionAbility
方法 or 属性: onWindowReady(window: window.Window): void;
@ohos.application.WindowExtensionAbility.d.ts
新增 NA 类名:display
方法or属性:function getDefaultDisplaySync(): Display;
@ohos.display.d.ts
新增 NA 类名:display
方法or属性:function getAllDisplays(callback: AsyncCallback<Array<Display>>): void;
@ohos.display.d.ts
新增 NA 类名:display
方法or属性:function getAllDisplays(): Promise<Array<Display>>;
@ohos.display.d.ts
新增 NA 类名:display
方法or属性:function hasPrivateWindow(displayId: number): boolean;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Rect
@ohos.display.d.ts
新增 NA 类名:Rect
方法or属性:
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Rect
方法 or 属性:left: number;
@ohos.display.d.ts
新增 NA 类名:Rect
方法or属性:left: number;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Rect
方法 or 属性:top: number;
@ohos.display.d.ts
新增 NA 类名:Rect
方法or属性:top: number;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Rect
方法 or 属性:width: number;
@ohos.display.d.ts
新增 NA 类名:Rect
方法or属性:width: number;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Rect
方法 or 属性:height: number;
@ohos.display.d.ts
新增 NA 类名:Rect
方法or属性:height: number;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: WaterfallDisplayAreaRects
@ohos.display.d.ts
新增 NA 类名:WaterfallDisplayAreaRects
方法or属性:
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: WaterfallDisplayAreaRects
方法 or 属性:readonly left: Rect;
@ohos.display.d.ts
新增 NA 类名:WaterfallDisplayAreaRects
方法or属性:readonly left: Rect;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: WaterfallDisplayAreaRects
方法 or 属性:readonly right: Rect;
@ohos.display.d.ts
新增 NA 类名:WaterfallDisplayAreaRects
方法or属性:readonly right: Rect;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: WaterfallDisplayAreaRects
方法 or 属性:readonly top: Rect;
@ohos.display.d.ts
新增 NA 类名:WaterfallDisplayAreaRects
方法or属性:readonly top: Rect;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: WaterfallDisplayAreaRects
方法 or 属性:readonly bottom: Rect;
@ohos.display.d.ts
新增 NA 类名:WaterfallDisplayAreaRects
方法or属性:readonly bottom: Rect;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: CutoutInfo
@ohos.display.d.ts
新增 NA 类名:CutoutInfo
方法or属性:
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: CutoutInfo
方法 or 属性:readonly boundingRects: Array<Rect>;
@ohos.display.d.ts
新增 NA 类名:CutoutInfo
方法or属性:readonly boundingRects: Array<Rect>;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: CutoutInfo
方法 or 属性:readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects;
@ohos.display.d.ts
新增 NA 类名:CutoutInfo
方法or属性:readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Display
方法 or 属性:getCutoutInfo(callback: AsyncCallback<CutoutInfo>): void;
@ohos.display.d.ts
新增 NA 类名:Display
方法or属性:getCutoutInfo(callback: AsyncCallback<CutoutInfo>): void;
@ohos.display.d.ts
新增 NA 模块名: ohos.display
类名: Display
方法 or 属性:getCutoutInfo(): Promise<CutoutInfo>;
@ohos.display.d.ts
新增 NA 类名:Display
方法or属性:getCutoutInfo(): Promise<CutoutInfo>;
@ohos.display.d.ts
新增 NA 模块名: ohos.screen
类名: screen
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function getAllScreens(callback: AsyncCallback<Array<Screen>>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function getAllScreens(): Promise<Array<Screen>>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function on(eventType: 'connect' | 'disconnect' | 'change', callback: Callback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function on(eventType: 'connect' | 'disconnect' | 'change', callback: Callback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function on(eventType: 'connect' | 'disconnect' | 'change', callback: Callback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function off(eventType: 'connect' | 'disconnect' | 'change', callback?: Callback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function off(eventType: 'connect' | 'disconnect' | 'change', callback?: Callback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function off(eventType: 'connect' | 'disconnect' | 'change', callback?: Callback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function makeExpand(options:Array<ExpandOption>, callback: AsyncCallback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function makeExpand(options:Array<ExpandOption>): Promise<number>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function makeMirror(mainScreen:number, mirrorScreen:Array<number>, callback: AsyncCallback<number>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function makeMirror(mainScreen:number, mirrorScreen:Array<number>): Promise<number>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function createVirtualScreen(options:VirtualScreenOption, callback: AsyncCallback<Screen>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function createVirtualScreen(options:VirtualScreenOption): Promise<Screen>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function destroyVirtualScreen(screenId:number, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function destroyVirtualScreen(screenId:number): Promise<void>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function setVirtualScreenSurface(screenId:number, surfaceId: string, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function setVirtualScreenSurface(screenId:number, surfaceId: string): Promise<void>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function isScreenRotationLocked(callback: AsyncCallback<boolean>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function isScreenRotationLocked(): Promise<boolean>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function setScreenRotationLocked(isLocked:boolean, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: screen
方法 or 属性: function setScreenRotationLocked(isLocked:boolean): Promise<void>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ExpandOption
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ExpandOption
方法 or 属性: screenId: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ExpandOption
方法 or 属性: startX: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ExpandOption
方法 or 属性: startY: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: VirtualScreenOption
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: VirtualScreenOption
方法 or 属性: name: string
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: VirtualScreenOption
方法 or 属性: width: number
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: VirtualScreenOption
方法 or 属性: height: number
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: VirtualScreenOption
方法 or 属性: density: number
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: VirtualScreenOption
方法 or 属性: surfaceId: string
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: readonly id: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: readonly parent: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: readonly supportedModeInfo: Array<ScreenModeInfo>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: readonly activeModeIndex: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: readonly orientation: Orientation;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: setOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: setOrientation(orientation: Orientation): Promise<void>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: setScreenActiveMode(modeIndex: number, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: setScreenActiveMode(modeIndex: number): Promise<void>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: setDensityDpi(densityDpi: number, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Screen
方法 or 属性: setDensityDpi(densityDpi: number): Promise<void>;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Orientation
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Orientation
方法 or 属性: UNSPECIFIED = 0
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Orientation
方法 or 属性: VERTICAL = 1
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Orientation
方法 or 属性: HORIZONTAL = 2
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Orientation
方法 or 属性: REVERSE_VERTICAL = 3
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: Orientation
方法 or 属性: REVERSE_HORIZONTAL = 4
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ScreenModeInfo
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ScreenModeInfo
方法 or 属性: id: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ScreenModeInfo
方法 or 属性: width: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ScreenModeInfo
方法 or 属性: height: number;
@ohos.screen.d.ts
新增 NA 模块名: ohos.screen
类名: ScreenModeInfo
方法 or 属性: refreshRate: number;
@ohos.screen.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_INPUT_METHOD
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_STATUS_BAR
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_PANEL
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_KEYGUARD
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_VOLUME_OVERLAY
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_NAVIGATION_BAR
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_FLOAT
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_WALLPAPER
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_DESKTOP
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_LAUNCHER_RECENT
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_LAUNCHER_DOCK
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_VOICE_INTERACTION
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_POINTER
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_FLOAT_CAMERA
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_DIALOG
@ohos.window.d.ts
新增 NA 类名:WindowType
方法or属性:TYPE_SCREENSHOT
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: AvoidAreaType
方法 or 属性:TYPE_SYSTEM_GESTURE
@ohos.window.d.ts
新增 NA 类名:AvoidAreaType
方法or属性:TYPE_SYSTEM_GESTURE
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: AvoidAreaType
方法 or 属性:TYPE_KEYBOARD
@ohos.window.d.ts
新增 NA 类名:AvoidAreaType
方法or属性:TYPE_KEYBOARD
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowLayoutMode
@ohos.window.d.ts
新增 NA 类名:WindowLayoutMode
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowLayoutMode
方法 or 属性:WINDOW_LAYOUT_MODE_CASCADE
@ohos.window.d.ts
新增 NA 类名:WindowLayoutMode
方法or属性:WINDOW_LAYOUT_MODE_CASCADE
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowLayoutMode
方法 or 属性:WINDOW_LAYOUT_MODE_TILE
@ohos.window.d.ts
新增 NA 类名:WindowLayoutMode
方法or属性:WINDOW_LAYOUT_MODE_TILE
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: AvoidArea
方法 or 属性:visible: boolean;
@ohos.window.d.ts
新增 NA 类名:AvoidArea
方法or属性:visible: boolean;
@ohos.window.d.ts
新增 NA 类名:WindowProperties
方法or属性:id: number
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: ScaleOptions
@ohos.window.d.ts
新增 NA 类名:ScaleOptions
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: ScaleOptions
方法 or 属性:x?: number;
@ohos.window.d.ts
新增 NA 类名:ScaleOptions
方法or属性:x?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: ScaleOptions
方法 or 属性:y?: number;
@ohos.window.d.ts
新增 NA 类名:ScaleOptions
方法or属性:y?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: ScaleOptions
方法 or 属性:pivotX?: number;
@ohos.window.d.ts
新增 NA 类名:ScaleOptions
方法or属性:pivotX?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: ScaleOptions
方法 or 属性:pivotY?: number;
@ohos.window.d.ts
新增 NA 类名:ScaleOptions
方法or属性:pivotY?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: RotateOptions
@ohos.window.d.ts
新增 NA 类名:RotateOptions
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: RotateOptions
方法 or 属性:x?: number;
@ohos.window.d.ts
新增 NA 类名:RotateOptions
方法or属性:x?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: RotateOptions
方法 or 属性:y?: number;
@ohos.window.d.ts
新增 NA 类名:RotateOptions
方法or属性:y?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: RotateOptions
方法 or 属性:z?: number;
@ohos.window.d.ts
新增 NA 类名:RotateOptions
方法or属性:z?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: RotateOptions
方法 or 属性:pivotX?: number;
@ohos.window.d.ts
新增 NA 类名:RotateOptions
方法or属性:pivotX?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: RotateOptions
方法 or 属性:pivotY?: number;
@ohos.window.d.ts
新增 NA 类名:RotateOptions
方法or属性:pivotY?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TranslateOptions
@ohos.window.d.ts
新增 NA 类名:TranslateOptions
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TranslateOptions
方法 or 属性:x?: number;
@ohos.window.d.ts
新增 NA 类名:TranslateOptions
方法or属性:x?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TranslateOptions
方法 or 属性:y?: number;
@ohos.window.d.ts
新增 NA 类名:TranslateOptions
方法or属性:y?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TranslateOptions
方法 or 属性:z?: number;
@ohos.window.d.ts
新增 NA 类名:TranslateOptions
方法or属性:z?: number;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TransitionContext
@ohos.window.d.ts
新增 NA 类名:TransitionContext
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TransitionContext
方法 or 属性:toWindow: Window
@ohos.window.d.ts
新增 NA 类名:TransitionContext
方法or属性:toWindow: Window
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TransitionContext
方法 or 属性:completeTransition(isCompleted: boolean): void;
@ohos.window.d.ts
新增 NA 类名:TransitionContext
方法or属性:completeTransition(isCompleted: boolean): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TransitionController
@ohos.window.d.ts
新增 NA 类名:TransitionController
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TransitionController
方法 or 属性:animationForShown(context: TransitionContext): void;
@ohos.window.d.ts
新增 NA 类名:TransitionController
方法or属性:animationForShown(context: TransitionContext): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: TransitionController
方法 or 属性:animationForHidden(context: TransitionContext): void;
@ohos.window.d.ts
新增 NA 类名:TransitionController
方法or属性:animationForHidden(context: TransitionContext): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Configuration
@ohos.window.d.ts
新增 NA 类名:Configuration
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Configuration
方法 or 属性:name: string
@ohos.window.d.ts
新增 NA 类名:Configuration
方法or属性:name: string
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Configuration
方法 or 属性:windowType: WindowType
@ohos.window.d.ts
新增 NA 类名:Configuration
方法or属性:windowType: WindowType
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Configuration
方法 or 属性:ctx?: BaseContext
@ohos.window.d.ts
新增 NA 类名:Configuration
方法or属性:ctx?: BaseContext
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Configuration
方法 or 属性:displayId?: number
@ohos.window.d.ts
新增 NA 类名:Configuration
方法or属性:displayId?: number
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Configuration
方法 or 属性:parentId?: number
@ohos.window.d.ts
新增 NA 类名:Configuration
方法or属性:parentId?: number
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function createWindow(config: Configuration, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function createWindow(config: Configuration): Promise<Window>;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function findWindow(name: string): Window;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function getLastWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function getLastWindow(ctx: BaseContext): Promise<Window>;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function minimizeAll(id: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function minimizeAll(id: number): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function toggleShownStateForAllAppWindows(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function toggleShownStateForAllAppWindows(): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function setWindowLayoutMode(mode: WindowLayoutMode, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:window
方法or属性:function setWindowLayoutMode(mode: WindowLayoutMode): Promise<void>;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:UNSPECIFIED = 0
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:UNSPECIFIED = 0
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:PORTRAIT = 1
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:PORTRAIT = 1
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:LANDSCAPE = 2
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:LANDSCAPE = 2
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:PORTRAIT_INVERTED = 3
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:PORTRAIT_INVERTED = 3
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:LANDSCAPE_INVERTED = 4
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:LANDSCAPE_INVERTED = 4
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:AUTO_ROTATION = 5
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:AUTO_ROTATION = 5
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:AUTO_ROTATION_PORTRAIT = 6
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:AUTO_ROTATION_PORTRAIT = 6
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:AUTO_ROTATION_LANDSCAPE = 7
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:AUTO_ROTATION_LANDSCAPE = 7
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:AUTO_ROTATION_RESTRICTED = 8
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:AUTO_ROTATION_RESTRICTED = 8
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:AUTO_ROTATION_PORTRAIT_RESTRICTED = 9
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:AUTO_ROTATION_PORTRAIT_RESTRICTED = 9
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:AUTO_ROTATION_LANDSCAPE_RESTRICTED = 10
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:AUTO_ROTATION_LANDSCAPE_RESTRICTED = 10
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: Orientation
方法 or 属性:LOCKED = 11
@ohos.window.d.ts
新增 NA 类名:Orientation
方法or属性:LOCKED = 11
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: BlurStyle
@ohos.window.d.ts
新增 NA 类名:BlurStyle
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: BlurStyle
方法 or 属性:OFF
@ohos.window.d.ts
新增 NA 类名:BlurStyle
方法or属性:OFF
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: BlurStyle
方法 or 属性:THIN
@ohos.window.d.ts
新增 NA 类名:BlurStyle
方法or属性:THIN
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: BlurStyle
方法 or 属性:REGULAR
@ohos.window.d.ts
新增 NA 类名:BlurStyle
方法or属性:REGULAR
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: BlurStyle
方法 or 属性:THICK
@ohos.window.d.ts
新增 NA 类名:BlurStyle
方法or属性:THICK
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:hideWithAnimation(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:hideWithAnimation(): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:showWindow(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:showWindow(): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:showWithAnimation(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:showWithAnimation(): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:destroyWindow(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:destroyWindow(): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:moveWindowTo(x: number, y: number): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:moveWindowTo(x: number, y: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:resize(width: number, height: number): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:resize(width: number, height: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowMode(mode: WindowMode): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowMode(mode: WindowMode, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:getWindowProperties(): WindowProperties;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:getWindowAvoidArea(type: AvoidAreaType): AvoidArea;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowLayoutFullScreen(isLayoutFullScreen: boolean): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowSystemBarEnable(names: Array<'status'|'navigation'>, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowSystemBarEnable(names: Array<'status'|'navigation'>): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowSystemBarProperties(systemBarProperties: SystemBarProperties): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setPreferredOrientation(orientation: Orientation): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setPreferredOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setUIContent(path: string, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setUIContent(path: string): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:isWindowShowing(): boolean;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:on(type: 'avoidAreaChange', callback: Callback<{ type: AvoidAreaType, area: AvoidArea }>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:off(type: 'avoidAreaChange', callback?: Callback<{ type: AvoidAreaType, area: AvoidArea }>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:on(type: 'touchOutside', callback: Callback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:off(type: 'touchOutside', callback?: Callback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:on(type: 'screenshot', callback: Callback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:off(type: 'screenshot', callback?: Callback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback<void>): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback<void>, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:bindDialogTarget(requestInfo: dialogRequest.RequestInfo, deathCallback: Callback<void>): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:bindDialogTarget(requestInfo: dialogRequest.RequestInfo, deathCallback: Callback<void>, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:isWindowSupportWideGamut(): Promise<boolean>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:isWindowSupportWideGamut(callback: AsyncCallback<boolean>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowColorSpace(colorSpace:ColorSpace): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowColorSpace(colorSpace:ColorSpace, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:getWindowColorSpace(): ColorSpace;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowBackgroundColor(color: string): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowBrightness(brightness: number): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowBrightness(brightness: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowFocusable(isFocusable: boolean): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowFocusable(isFocusable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWakeUpScreen(wakeUp: boolean): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowPrivacyMode(isPrivacyMode: boolean): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setSnapshotSkip(isSkip: boolean): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowTouchable(isTouchable: boolean): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setWindowTouchable(isTouchable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setForbidSplitMove(isForbidSplitMove: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setForbidSplitMove(isForbidSplitMove: boolean): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:snapshot(callback: AsyncCallback<image.PixelMap>): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:snapshot(): Promise<image.PixelMap>;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:opacity(opacity: number): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:scale(scaleOptions: ScaleOptions): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:rotate(rotateOptions: RotateOptions): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:translate(translateOptions: TranslateOptions): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:getTransitionController(): TransitionController;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setBlur(radius: number): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setBackdropBlur(radius: number): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setBackdropBlurStyle(blurStyle: BlurStyle): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setShadow(radius: number, color?: string, offsetX?: number, offsetY?: number): void;
@ohos.window.d.ts
新增 NA 类名:Window
方法or属性:setCornerRadius(cornerRadius: number): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStageEventType
@ohos.window.d.ts
新增 NA 类名:WindowStageEventType
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStageEventType
方法 or 属性:SHOWN = 1
@ohos.window.d.ts
新增 NA 类名:WindowStageEventType
方法or属性:SHOWN = 1
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStageEventType
方法 or 属性:ACTIVE
@ohos.window.d.ts
新增 NA 类名:WindowStageEventType
方法or属性:ACTIVE
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStageEventType
方法 or 属性:INACTIVE
@ohos.window.d.ts
新增 NA 类名:WindowStageEventType
方法or属性:INACTIVE
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStageEventType
方法 or 属性:HIDDEN
@ohos.window.d.ts
新增 NA 类名:WindowStageEventType
方法or属性:HIDDEN
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:getMainWindow(): Promise<Window>;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:getMainWindow(): Promise<Window>;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:getMainWindow(callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:getMainWindow(callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:getMainWindowSync(): Window;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:getMainWindowSync(): Window;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:createSubWindow(name: string): Promise<Window>;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:createSubWindow(name: string): Promise<Window>;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:createSubWindow(name: string, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:createSubWindow(name: string, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:getSubWindow(): Promise<Array<Window>>;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:getSubWindow(): Promise<Array<Window>>;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:getSubWindow(callback: AsyncCallback<Array<Window>>): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:getSubWindow(callback: AsyncCallback<Array<Window>>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:loadContent(path: string, storage?: LocalStorage): Promise<void>;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:loadContent(path: string, storage?: LocalStorage): Promise<void>;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:loadContent(path: string, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:on(eventType: 'windowStageEvent', callback: Callback<WindowStageEventType>): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:on(eventType: 'windowStageEvent', callback: Callback<WindowStageEventType>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:off(eventType: 'windowStageEvent', callback?: Callback<WindowStageEventType>): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:off(eventType: 'windowStageEvent', callback?: Callback<WindowStageEventType>): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:disableWindowDecor(): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:disableWindowDecor(): void;
@ohos.window.d.ts
新增 NA 模块名: ohos.window
类名: WindowStage
方法 or 属性:setShowOnLockScreen(showOnLockScreen: boolean): void;
@ohos.window.d.ts
新增 NA 类名:WindowStage
方法or属性:setShowOnLockScreen(showOnLockScreen: boolean): void;
@ohos.window.d.ts
新增 NA 模块名: WindowExtensionContext
类名: WindowExtensionContext
WindowExtensionContext.d.ts
新增 NA 模块名: WindowExtensionContext
类名: WindowExtensionContext
方法 or 属性: startAbility(want: Want, options: StartOptions, callback: AsyncCallback<void>): void;
WindowExtensionContext.d.ts
新增 NA 模块名: WindowExtensionContext
类名: WindowExtensionContext
方法 or 属性: startAbility(want: Want, options?: StartOptions): Promise<void>;
WindowExtensionContext.d.ts
model有变化 类名:WindowType
方法 or 属性:TYPE_APP
model:N/A
类名:WindowType
方法 or 属性:TYPE_APP
model:@FAModelOnly
@ohos.window.d.ts
model有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
model:N/A
类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
model:@FAModelOnly
@ohos.window.d.ts
model有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
model:N/A
类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
model:@FAModelOnly
@ohos.window.d.ts
model有变化 类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
model:N/A
类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
model:@FAModelOnly
@ohos.window.d.ts
model有变化 类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
model:N/A
类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
model:@FAModelOnly
@ohos.window.d.ts
废弃版本有变化 类名:display
方法 or 属性:function getDefaultDisplay(callback: AsyncCallback<Display>): void;
废弃版本:N/A
类名:display
方法 or 属性:function getDefaultDisplay(callback: AsyncCallback<Display>): void;
废弃版本:9
代替接口:ohos.display
@ohos.display.d.ts
废弃版本有变化 类名:display
方法 or 属性:function getDefaultDisplay(): Promise<Display>;
废弃版本:N/A
类名:display
方法 or 属性:function getDefaultDisplay(): Promise<Display>;
废弃版本:9
代替接口:ohos.display
@ohos.display.d.ts
废弃版本有变化 类名:display
方法 or 属性:function getAllDisplay(callback: AsyncCallback<Array<Display>>): void;
废弃版本:N/A
类名:display
方法 or 属性:function getAllDisplay(callback: AsyncCallback<Array<Display>>): void;
废弃版本:9
代替接口:ohos.display
@ohos.display.d.ts
废弃版本有变化 类名:display
方法 or 属性:function getAllDisplay(): Promise<Array<Display>>;
废弃版本:N/A
类名:display
方法 or 属性:function getAllDisplay(): Promise<Array<Display>>;
废弃版本:9
代替接口:ohos.display
@ohos.display.d.ts
废弃版本有变化 类名:WindowProperties
方法 or 属性:dimBehindValue: number
废弃版本:N/A
类名:WindowProperties
方法 or 属性:dimBehindValue: number
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:WindowProperties
方法 or 属性:isRoundCorner: boolean
废弃版本:N/A
类名:WindowProperties
方法 or 属性:isRoundCorner: boolean
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
废弃版本:N/A
类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
废弃版本:9
代替接口:ohos.window
@ohos.window.d.ts
废弃版本有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
废弃版本:N/A
类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
废弃版本:9
代替接口:ohos.window
@ohos.window.d.ts
废弃版本有变化 类名:window
方法 or 属性:function find(id: string, callback: AsyncCallback<Window>): void;
废弃版本:N/A
类名:window
方法 or 属性:function find(id: string, callback: AsyncCallback<Window>): void;
废弃版本:9
代替接口:ohos.window
@ohos.window.d.ts
废弃版本有变化 类名:window
方法 or 属性:function find(id: string): Promise<Window>;
废弃版本:N/A
类名:window
方法 or 属性:function find(id: string): Promise<Window>;
废弃版本:9
代替接口:ohos.window
@ohos.window.d.ts
废弃版本有变化 类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
废弃版本:N/A
类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
废弃版本:9
代替接口:ohos.window
@ohos.window.d.ts
废弃版本有变化 类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
废弃版本:N/A
类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
废弃版本:9
代替接口:ohos.window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:show(callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:show(callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:show(): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:show(): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:destroy(callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:destroy(callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:destroy(): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:destroy(): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:moveTo(x: number, y: number): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:moveTo(x: number, y: number): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:moveTo(x: number, y: number, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:moveTo(x: number, y: number, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:resetSize(width: number, height: number): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:resetSize(width: number, height: number): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:resetSize(width: number, height: number, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:resetSize(width: number, height: number, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setWindowType(type: WindowType): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setWindowType(type: WindowType): Promise<void>;
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setWindowType(type: WindowType, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setWindowType(type: WindowType, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:getProperties(callback: AsyncCallback<WindowProperties>): void;
废弃版本:N/A
类名:Window
方法 or 属性:getProperties(callback: AsyncCallback<WindowProperties>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:getProperties(): Promise<WindowProperties>;
废弃版本:N/A
类名:Window
方法 or 属性:getProperties(): Promise<WindowProperties>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:getAvoidArea(type: AvoidAreaType, callback: AsyncCallback<AvoidArea>): void;
废弃版本:N/A
类名:Window
方法 or 属性:getAvoidArea(type: AvoidAreaType, callback: AsyncCallback<AvoidArea>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:getAvoidArea(type: AvoidAreaType): Promise<AvoidArea>;
废弃版本:N/A
类名:Window
方法 or 属性:getAvoidArea(type: AvoidAreaType): Promise<AvoidArea>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setFullScreen(isFullScreen: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setFullScreen(isFullScreen: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setFullScreen(isFullScreen: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setFullScreen(isFullScreen: boolean): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setLayoutFullScreen(isLayoutFullScreen: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setLayoutFullScreen(isLayoutFullScreen: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setLayoutFullScreen(isLayoutFullScreen: boolean): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setSystemBarEnable(names: Array<'status'|'navigation'>, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setSystemBarEnable(names: Array<'status'|'navigation'>, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setSystemBarEnable(names: Array<'status'|'navigation'>): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setSystemBarEnable(names: Array<'status'|'navigation'>): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setSystemBarProperties(systemBarProperties: SystemBarProperties, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setSystemBarProperties(systemBarProperties: SystemBarProperties): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setSystemBarProperties(systemBarProperties: SystemBarProperties): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:loadContent(path: string, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:loadContent(path: string, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:loadContent(path: string): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:loadContent(path: string): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:isShowing(callback: AsyncCallback<boolean>): void;
废弃版本:N/A
类名:Window
方法 or 属性:isShowing(callback: AsyncCallback<boolean>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:isShowing(): Promise<boolean>;
废弃版本:N/A
类名:Window
方法 or 属性:isShowing(): Promise<boolean>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:on(type: 'systemAvoidAreaChange', callback: Callback<AvoidArea>): void;
废弃版本:N/A
类名:Window
方法 or 属性:on(type: 'systemAvoidAreaChange', callback: Callback<AvoidArea>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:off(type: 'systemAvoidAreaChange', callback?: Callback<AvoidArea>): void;
废弃版本:N/A
类名:Window
方法 or 属性:off(type: 'systemAvoidAreaChange', callback?: Callback<AvoidArea>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:isSupportWideGamut(): Promise<boolean>;
废弃版本:N/A
类名:Window
方法 or 属性:isSupportWideGamut(): Promise<boolean>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:isSupportWideGamut(callback: AsyncCallback<boolean>): void;
废弃版本:N/A
类名:Window
方法 or 属性:isSupportWideGamut(callback: AsyncCallback<boolean>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setColorSpace(colorSpace:ColorSpace): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setColorSpace(colorSpace:ColorSpace): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setColorSpace(colorSpace:ColorSpace, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setColorSpace(colorSpace:ColorSpace, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:getColorSpace(): Promise<ColorSpace>;
废弃版本:N/A
类名:Window
方法 or 属性:getColorSpace(): Promise<ColorSpace>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:getColorSpace(callback: AsyncCallback<ColorSpace>): void;
废弃版本:N/A
类名:Window
方法 or 属性:getColorSpace(callback: AsyncCallback<ColorSpace>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setBackgroundColor(color: string): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setBackgroundColor(color: string): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setBackgroundColor(color: string, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setBackgroundColor(color: string, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setBrightness(brightness: number): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setBrightness(brightness: number): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setBrightness(brightness: number, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setBrightness(brightness: number, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setDimBehind(dimBehindValue: number, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setDimBehind(dimBehindValue: number, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setDimBehind(dimBehindValue: number): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setDimBehind(dimBehindValue: number): Promise<void>;
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setFocusable(isFocusable: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setFocusable(isFocusable: boolean): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setFocusable(isFocusable: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setFocusable(isFocusable: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setKeepScreenOn(isKeepScreenOn: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setKeepScreenOn(isKeepScreenOn: boolean): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setKeepScreenOn(isKeepScreenOn: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setOutsideTouchable(touchable: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setOutsideTouchable(touchable: boolean): Promise<void>;
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setOutsideTouchable(touchable: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setOutsideTouchable(touchable: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:N/A
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setPrivacyMode(isPrivacyMode: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setPrivacyMode(isPrivacyMode: boolean): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setPrivacyMode(isPrivacyMode: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setTouchable(isTouchable: boolean): Promise<void>;
废弃版本:N/A
类名:Window
方法 or 属性:setTouchable(isTouchable: boolean): Promise<void>;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
废弃版本有变化 类名:Window
方法 or 属性:setTouchable(isTouchable: boolean, callback: AsyncCallback<void>): void;
废弃版本:N/A
类名:Window
方法 or 属性:setTouchable(isTouchable: boolean, callback: AsyncCallback<void>): void;
废弃版本:9
代替接口:ohos.window.Window
@ohos.window.d.ts
新增(错误码) NA 类名:display
方法 or 属性:function on(type: 'add' | 'remove' | 'change', callback: Callback<number>): void;
错误码内容: 401
@ohos.display.d.ts
新增(错误码) NA 类名:display
方法 or 属性:function on(type: 'add' | 'remove' | 'change', callback: Callback<number>): void;
错误码内容: 401
@ohos.display.d.ts
新增(错误码) NA 类名:display
方法 or 属性:function on(type: 'add' | 'remove' | 'change', callback: Callback<number>): void;
错误码内容: 401
@ohos.display.d.ts
新增(错误码) NA 类名:display
方法 or 属性:function off(type: 'add' | 'remove' | 'change', callback?: Callback<number>): void;
错误码内容: 401
@ohos.display.d.ts
新增(错误码) NA 类名:display
方法 or 属性:function off(type: 'add' | 'remove' | 'change', callback?: Callback<number>): void;
错误码内容: 401
@ohos.display.d.ts
新增(错误码) NA 类名:display
方法 or 属性:function off(type: 'add' | 'remove' | 'change', callback?: Callback<number>): void;
错误码内容: 401
@ohos.display.d.ts
新增(错误码) NA 类名:screenshot
方法 or 属性:function save(options?: ScreenshotOptions): Promise<image.PixelMap>;
错误码内容: 201, 401
@ohos.screenshot.d.ts
新增(错误码) NA 类名:window
方法 or 属性:function on(type: 'systemBarTintChange', callback: Callback<SystemBarTintState>): void;
错误码内容: 401
@ohos.window.d.ts
新增(错误码) NA 类名:window
方法 or 属性:function off(type: 'systemBarTintChange', callback?: Callback<SystemBarTintState>): void;
错误码内容: 401
@ohos.window.d.ts
新增(错误码) NA 类名:Window
方法 or 属性:hide (callback: AsyncCallback<void>): void;
错误码内容: 1300002
@ohos.window.d.ts
新增(错误码) NA 类名:Window
方法 or 属性:hide(): Promise<void>;
错误码内容: 1300002
@ohos.window.d.ts
新增(错误码) NA 类名:Window
方法 or 属性:on(type: 'windowSizeChange', callback: Callback<Size>): void;
错误码内容: 401
@ohos.window.d.ts
新增(错误码) NA 类名:Window
方法 or 属性:off(type: 'windowSizeChange', callback?: Callback<Size>): void;
错误码内容: 401
@ohos.window.d.ts
新增(错误码) NA 类名:Window
方法 or 属性:on(type: 'keyboardHeightChange', callback: Callback<number>): void;
错误码内容: 401
@ohos.window.d.ts
新增(错误码) NA 类名:Window
方法 or 属性:off(type: 'keyboardHeightChange', callback?: Callback<number>): void;
错误码内容: 401
@ohos.window.d.ts
函数有变化 类名:screenshot
方法 or 属性:function save(options?: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void;
类名:screenshot
方法 or 属性:function save(options: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void;
@ohos.screenshot.d.ts
函数有变化 类名:screenshot
方法 or 属性:function save(options?: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void;
类名:screenshot
方法 or 属性:function save(callback: AsyncCallback<image.PixelMap>): void;
@ohos.screenshot.d.ts
函数有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(ctx: Context, id: string, type: WindowType, callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(ctx: Context, id: string, type: WindowType): Promise<Window>;
类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType): Promise<Window>;
类名:window
方法 or 属性:function create(ctx: BaseContext, id: string, type: WindowType): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(ctx: Context, id: string, type: WindowType): Promise<Window>;
类名:window
方法 or 属性:function create(ctx: BaseContext, id: string, type: WindowType): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(id: string, type: WindowType, callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function create(ctx: BaseContext, id: string, type: WindowType, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function create(ctx: Context, id: string, type: WindowType, callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function create(ctx: BaseContext, id: string, type: WindowType, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(ctx: Context, callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(ctx: Context): Promise<Window>;
类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(): Promise<Window>;
类名:window
方法 or 属性:function getTopWindow(ctx: BaseContext): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(ctx: Context): Promise<Window>;
类名:window
方法 or 属性:function getTopWindow(ctx: BaseContext): Promise<Window>;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function getTopWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:window
方法 or 属性:function getTopWindow(ctx: Context, callback: AsyncCallback<Window>): void;
类名:window
方法 or 属性:function getTopWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;
@ohos.window.d.ts
函数有变化 类名:Window
方法 or 属性:loadContent(path: string, callback: AsyncCallback<void>): void;
类名:Window
方法 or 属性:loadContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
函数有变化 类名:Window
方法 or 属性:loadContent(path: string): Promise<void>;
类名:Window
方法 or 属性:loadContent(path: string, storage: LocalStorage): Promise<void>;
@ohos.window.d.ts
函数有变化 类名:Window
方法 or 属性:loadContent(path: string, callback: AsyncCallback<void>): void;
类名:Window
方法 or 属性:loadContent(path: string, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
函数有变化 类名:Window
方法 or 属性:loadContent(path: string): Promise<void>;
类名:Window
方法 or 属性:loadContent(path: string): Promise<void>;
@ohos.window.d.ts