1# JS API Changes of the Window Manager Subsystem 2 3The table below lists the APIs changes of the window manager subsystem in OpenHarmony 3.2 Beta3 over OpenHarmony 3.2 Beta2. 4 5## API Changes 6 7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type| 8|---|---|---|---| 9| ohos.animation.windowAnimationManager | WindowAnimationController | onWindowAnimationTargetsUpdate(fullScreenWindowTarget: WindowAnimationTarget, floatingWindowTargets: Array\<WindowAnimationTarget>): void; | Added | 10| ohos.animation.windowAnimationManager | WindowAnimationTarget | readonly missionId: number; | Added| 11| ohos.animation.windowAnimationManager | windowAnimationManager | minimizeWindowWithAnimation(windowTarget: WindowAnimationTarget, callback: AsyncCallback\<WindowAnimationFinishedCallback>): void;<br>minimizeWindowWithAnimation(windowTarget: WindowAnimationTarget): Promise\<WindowAnimationFinishedCallback>; | Added | 12| ohos.display | Display | getCutoutInfo(callback: AsyncCallback\<CutoutInfo>): void;<br>getCutoutInfo(): Promise\<CutoutInfo>; | Added| 13| ohos.display | CutoutInfo | readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects; | Added| 14| ohos.display | CutoutInfo | readonly boundingRects: Array\<Rect>; | Added| 15| ohos.display | WaterfallDisplayAreaRects | readonly bottom: Rect; | Added| 16| ohos.display | WaterfallDisplayAreaRects | readonly top: Rect; | Added| 17| ohos.display | WaterfallDisplayAreaRects | readonly right: Rect; | Added| 18| ohos.display | WaterfallDisplayAreaRects | readonly left: Rect; | Added| 19| ohos.display | Rect | height: number; | Added| 20| ohos.display | Rect | width: number; | Added| 21| ohos.display | Rect | top: number; | Added| 22| ohos.display | Rect | left: number; | Added| 23| ohos.display | display | hasPrivateWindow(displayId: number): boolean; | Added| 24| ohos.window | Window | setCornerRadius(cornerRadius: number): void; | Added| 25| ohos.window | Window | setShadow(radius: number, color?: string, offsetX?: number, offsetY?: number): void; | Added| 26| ohos.window | Window | setBackdropBlurStyle(blurStyle: BlurStyle): void; | Added| 27| ohos.window | Window | setBackdropBlur(radius: number): void; | Added| 28| ohos.window | Window | setBlur(radius: number): void; | Added| 29| ohos.window | Window | getTransitionController(): TransitionController; | Added| 30| ohos.window | Window | translate(translateOptions: TranslateOptions): void; | Added| 31| ohos.window | Window | rotate(rotateOptions: RotateOptions): void; | Added| 32| ohos.window | Window | scale(scaleOptions: ScaleOptions): void; | Added| 33| ohos.window | Window | opacity(opacity: number): void; | Added| 34| ohos.window | Window | snapshot(callback: AsyncCallback\<image.PixelMap>): void;<br>snapshot(): Promise\<image.PixelMap>; | Added| 35| ohos.window | Window | setSnapshotSkip(isSkip: boolean): void; | Added| 36| ohos.window | Window | setWakeUpScreen(wakeUp: boolean): void; | Added| 37| ohos.window | Window | bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback\<void>): Promise\<void>;<br>bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback\<void>, callback: AsyncCallback\<void>): void; | Added| 38| ohos.window | Window | off(type: 'dialogTargetTouch', callback?: Callback\<void>): void; | Added| 39| ohos.window | Window | on(type: 'dialogTargetTouch', callback: Callback\<void>): void; | Added| 40| ohos.window | Window | off(type: 'screenshot', callback?: Callback\<void>): void; | Added| 41| ohos.window | Window | on(type: 'screenshot', callback: Callback\<void>): void; | Added| 42| ohos.window | Window | showWithAnimation(callback: AsyncCallback\<void>): void;<br>showWithAnimation(): Promise\<void>; | Added| 43| ohos.window | Window | hideWithAnimation(callback: AsyncCallback\<void>): void;<br>hideWithAnimation(): Promise\<void>; | Added| 44| ohos.window | BlurStyle | THICK | Added| 45| ohos.window | BlurStyle | REGULAR | Added| 46| ohos.window | BlurStyle | THIN | Added| 47| ohos.window | BlurStyle | OFF | Added| 48| ohos.window | TransitionController | animationForHidden(context: TransitionContext): void; | Added| 49| ohos.window | TransitionController | animationForShown(context: TransitionContext): void; | Added| 50| ohos.window | TransitionContext | completeTransition(isCompleted: boolean): void; | Added| 51| ohos.window | TransitionContext | toWindow: Window | Added| 52| ohos.window | TranslateOptions | z?: number; | Added| 53| ohos.window | TranslateOptions | y?: number; | Added| 54| ohos.window | TranslateOptions | x?: number; | Added| 55| ohos.window | RotateOptions | pivotY?: number; | Added| 56| ohos.window | RotateOptions | pivotX?: number; | Added| 57| ohos.window | RotateOptions | z?: number; | Added| 58| ohos.window | RotateOptions | y?: number; | Added| 59| ohos.window | RotateOptions | x?: number; | Added| 60| ohos.window | ScaleOptions | pivotY?: number; | Added| 61| ohos.window | ScaleOptions | pivotX?: number; | Added| 62| ohos.window | ScaleOptions | y?: number; | Added| 63| ohos.window | ScaleOptions | x?: number; | Added| 64| ohos.window | WindowProperties | id: number | Added| 65| ohos.window | WindowType | TYPE_SCREENSHOT | Added| 66| ohos.window | WindowType | TYPE_DIALOG | Added| 67| ohos.window | WindowType | TYPE_FLOAT_CAMERA | Added| 68| ohos.screen | Orientation | SENSOR_HORIZONTAL = 7 | Deleted| 69| ohos.screen | Orientation | SENSOR_VERTICAL = 6 | Deleted| 70| ohos.screen | Orientation | SENSOR = 5 | Deleted| 71| ohos.window | Window | setWindowType(type: WindowType): Promise\<void>;<br>setWindowType(type: WindowType, callback: AsyncCallback\<void>): void; | Deprecated| 72| ohos.window | WindowProperties | isRoundCorner: boolean | Deprecated| 73