js-apidiff-window.md 16.9 KB
Newer Older
G
Gloria 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Class name: WindowExtensionAbility<br>Method or attribute name: context: WindowExtensionContext;|@ohos.application.WindowExtensionAbility.d.ts|
|Added|NA|Class name: Window<br>Method or attribute name: bindDialogTarget(requestInfo: dialogRequest.RequestInfo, deathCallback: Callback\<void>): Promise\<void>;|@ohos.window.d.ts|
|Added|NA|Class name: Window<br>Method or attribute name: bindDialogTarget(requestInfo: dialogRequest.RequestInfo, deathCallback: Callback\<void>, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
|Added|NA|Module name: WindowExtensionContext<br>Class name: WindowExtensionContext|WindowExtensionContext.d.ts|
|Added|NA|Module name: WindowExtensionContext<br>Class name: WindowExtensionContext<br>Method or attribute name: startAbility(want: Want, options: StartOptions, callback: AsyncCallback\<void>): void;|WindowExtensionContext.d.ts|
|Added|NA|Module name: WindowExtensionContext<br>Class name: WindowExtensionContext<br>Method or attribute name: startAbility(want: Want, options?: StartOptions): Promise\<void>;|WindowExtensionContext.d.ts|
|Deleted|Module name: ohos.window<br>Class name: Window<br>Method or attribute name: on(type: 'dialogTargetTouch', callback: Callback\<void>): void;|NA|@ohos.window.d.ts|
|Deleted|Module name: ohos.window<br>Class name: Window<br>Method or attribute name: off(type: 'dialogTargetTouch', callback?: Callback\<void>): void;|NA|@ohos.window.d.ts|
|Access level changed|Class name: WindowAnimationFinishedCallback<br>Method or attribute name: onAnimationFinish(): void;<br>Access level: public API|Class name: WindowAnimationFinishedCallback<br>Method or attribute name: onAnimationFinish(): void;<br>Access level: system API|@ohos.animation.windowAnimationManager.d.ts|
|Access level changed|Class name: WindowType<br>Method or attribute name: TYPE_FLOAT_CAMERA<br>Access level: public API|Class name: WindowType<br>Method or attribute name: TYPE_FLOAT_CAMERA<br>Access level: system API|@ohos.window.d.ts|
|Initial version changed|Class name: RRect<br>Method or attribute name: left: number;<br>Initial version: N/A|Class name: RRect<br>Method or attribute name: left: number;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: RRect<br>Method or attribute name: top: number;<br>Initial version: N/A|Class name: RRect<br>Method or attribute name: top: number;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: RRect<br>Method or attribute name: width: number;<br>Initial version: N/A|Class name: RRect<br>Method or attribute name: width: number;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: RRect<br>Method or attribute name: height: number;<br>Initial version: N/A|Class name: RRect<br>Method or attribute name: height: number;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: RRect<br>Method or attribute name: radius: number;<br>Initial version: N/A|Class name: RRect<br>Method or attribute name: radius: number;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: WindowAnimationTarget<br>Method or attribute name: readonly bundleName: string;<br>Initial version: N/A|Class name: WindowAnimationTarget<br>Method or attribute name: readonly bundleName: string;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: WindowAnimationTarget<br>Method or attribute name: readonly abilityName: string;<br>Initial version: N/A|Class name: WindowAnimationTarget<br>Method or attribute name: readonly abilityName: string;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: WindowAnimationTarget<br>Method or attribute name: readonly windowBounds: RRect;<br>Initial version: N/A|Class name: WindowAnimationTarget<br>Method or attribute name: readonly windowBounds: RRect;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: WindowAnimationTarget<br>Method or attribute name: readonly missionId: number;<br>Initial version: N/A|Class name: WindowAnimationTarget<br>Method or attribute name: readonly missionId: number;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: WindowAnimationFinishedCallback<br>Method or attribute name: onAnimationFinish(): void;<br>Initial version: N/A|Class name: WindowAnimationFinishedCallback<br>Method or attribute name: onAnimationFinish(): void;<br>Initial version: 9|@ohos.animation.windowAnimationManager.d.ts|
|Initial version changed|Class name: Rect<br>Method or attribute name: left: number;<br>Initial version: N/A|Class name: Rect<br>Method or attribute name: left: number;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: Rect<br>Method or attribute name: top: number;<br>Initial version: N/A|Class name: Rect<br>Method or attribute name: top: number;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: Rect<br>Method or attribute name: width: number;<br>Initial version: N/A|Class name: Rect<br>Method or attribute name: width: number;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: Rect<br>Method or attribute name: height: number;<br>Initial version: N/A|Class name: Rect<br>Method or attribute name: height: number;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly left: Rect;<br>Initial version: N/A|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly left: Rect;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly right: Rect;<br>Initial version: N/A|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly right: Rect;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly top: Rect;<br>Initial version: N/A|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly top: Rect;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly bottom: Rect;<br>Initial version: N/A|Class name: WaterfallDisplayAreaRects<br>Method or attribute name: readonly bottom: Rect;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: CutoutInfo<br>Method or attribute name: readonly boundingRects: Array\<Rect>;<br>Initial version: N/A|Class name: CutoutInfo<br>Method or attribute name: readonly boundingRects: Array\<Rect>;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: CutoutInfo<br>Method or attribute name: readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects;<br>Initial version: N/A|Class name: CutoutInfo<br>Method or attribute name: readonly waterfallDisplayAreaRects: WaterfallDisplayAreaRects;<br>Initial version: 9|@ohos.display.d.ts|
|Initial version changed|Class name: ScaleOptions<br>Method or attribute name: x?: number;<br>Initial version: N/A|Class name: ScaleOptions<br>Method or attribute name: x?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: ScaleOptions<br>Method or attribute name: y?: number;<br>Initial version: N/A|Class name: ScaleOptions<br>Method or attribute name: y?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: ScaleOptions<br>Method or attribute name: pivotX?: number;<br>Initial version: N/A|Class name: ScaleOptions<br>Method or attribute name: pivotX?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: ScaleOptions<br>Method or attribute name: pivotY?: number;<br>Initial version: N/A|Class name: ScaleOptions<br>Method or attribute name: pivotY?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: RotateOptions<br>Method or attribute name: x?: number;<br>Initial version: N/A|Class name: RotateOptions<br>Method or attribute name: x?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: RotateOptions<br>Method or attribute name: y?: number;<br>Initial version: N/A|Class name: RotateOptions<br>Method or attribute name: y?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: RotateOptions<br>Method or attribute name: z?: number;<br>Initial version: N/A|Class name: RotateOptions<br>Method or attribute name: z?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: RotateOptions<br>Method or attribute name: pivotX?: number;<br>Initial version: N/A|Class name: RotateOptions<br>Method or attribute name: pivotX?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: RotateOptions<br>Method or attribute name: pivotY?: number;<br>Initial version: N/A|Class name: RotateOptions<br>Method or attribute name: pivotY?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TranslateOptions<br>Method or attribute name: x?: number;<br>Initial version: N/A|Class name: TranslateOptions<br>Method or attribute name: x?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TranslateOptions<br>Method or attribute name: y?: number;<br>Initial version: N/A|Class name: TranslateOptions<br>Method or attribute name: y?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TranslateOptions<br>Method or attribute name: z?: number;<br>Initial version: N/A|Class name: TranslateOptions<br>Method or attribute name: z?: number;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TransitionContext<br>Method or attribute name: toWindow: Window<br>Initial version: N/A|Class name: TransitionContext<br>Method or attribute name: toWindow: Window<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TransitionContext<br>Method or attribute name: completeTransition(isCompleted: boolean): void;<br>Initial version: N/A|Class name: TransitionContext<br>Method or attribute name: completeTransition(isCompleted: boolean): void;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TransitionController<br>Method or attribute name: animationForShown(context: TransitionContext): void;<br>Initial version: N/A|Class name: TransitionController<br>Method or attribute name: animationForShown(context: TransitionContext): void;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: TransitionController<br>Method or attribute name: animationForHidden(context: TransitionContext): void;<br>Initial version: N/A|Class name: TransitionController<br>Method or attribute name: animationForHidden(context: TransitionContext): void;<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Configuration<br>Method or attribute name: name: string<br>Initial version: N/A|Class name: Configuration<br>Method or attribute name: name: string<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Configuration<br>Method or attribute name: windowType: WindowType<br>Initial version: N/A|Class name: Configuration<br>Method or attribute name: windowType: WindowType<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Configuration<br>Method or attribute name: ctx?: BaseContext<br>Initial version: N/A|Class name: Configuration<br>Method or attribute name: ctx?: BaseContext<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Configuration<br>Method or attribute name: displayId?: number<br>Initial version: N/A|Class name: Configuration<br>Method or attribute name: displayId?: number<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Configuration<br>Method or attribute name: parentId?: number<br>Initial version: N/A|Class name: Configuration<br>Method or attribute name: parentId?: number<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: UNSPECIFIED = 0<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: UNSPECIFIED = 0<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: PORTRAIT = 1<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: PORTRAIT = 1<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: LANDSCAPE = 2<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: LANDSCAPE = 2<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: PORTRAIT_INVERTED = 3<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: PORTRAIT_INVERTED = 3<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: LANDSCAPE_INVERTED = 4<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: LANDSCAPE_INVERTED = 4<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION = 5<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION = 5<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_PORTRAIT = 6<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_PORTRAIT = 6<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_LANDSCAPE = 7<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_LANDSCAPE = 7<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_RESTRICTED = 8<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_RESTRICTED = 8<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_PORTRAIT_RESTRICTED = 9<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_PORTRAIT_RESTRICTED = 9<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_LANDSCAPE_RESTRICTED = 10<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: AUTO_ROTATION_LANDSCAPE_RESTRICTED = 10<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: Orientation<br>Method or attribute name: LOCKED = 11<br>Initial version: N/A|Class name: Orientation<br>Method or attribute name: LOCKED = 11<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: BlurStyle<br>Method or attribute name: OFF<br>Initial version: N/A|Class name: BlurStyle<br>Method or attribute name: OFF<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: BlurStyle<br>Method or attribute name: THIN<br>Initial version: N/A|Class name: BlurStyle<br>Method or attribute name: THIN<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: BlurStyle<br>Method or attribute name: REGULAR<br>Initial version: N/A|Class name: BlurStyle<br>Method or attribute name: REGULAR<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: BlurStyle<br>Method or attribute name: THICK<br>Initial version: N/A|Class name: BlurStyle<br>Method or attribute name: THICK<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: WindowStageEventType<br>Method or attribute name: SHOWN = 1<br>Initial version: N/A|Class name: WindowStageEventType<br>Method or attribute name: SHOWN = 1<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: WindowStageEventType<br>Method or attribute name: ACTIVE<br>Initial version: N/A|Class name: WindowStageEventType<br>Method or attribute name: ACTIVE<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: WindowStageEventType<br>Method or attribute name: INACTIVE<br>Initial version: N/A|Class name: WindowStageEventType<br>Method or attribute name: INACTIVE<br>Initial version: 9|@ohos.window.d.ts|
|Initial version changed|Class name: WindowStageEventType<br>Method or attribute name: HIDDEN<br>Initial version: N/A|Class name: WindowStageEventType<br>Method or attribute name: HIDDEN<br>Initial version: 9|@ohos.window.d.ts|
|Permission deleted|Class name: WindowType<br>Method or attribute name: TYPE_FLOAT_CAMERA<br>Permission: ohos.permission.SYSTEM_FLOAT_WINDOW|Class name: WindowType<br>Method or attribute name: TYPE_FLOAT_CAMERA<br>Permission: N/A|@ohos.window.d.ts|