1| 操作 | 旧版本 | 新版本 | d.ts文件 |
2| ---- | ------ | ------ | -------- |
3|新增|NA|类名:sourcefile;<br>方法or属性:export type WindowExtensionContext = _WindowExtensionContext;|@ohos.application.WindowExtensionAbility.d.ts|
4|新增|NA|类名:window;<br>方法or属性:function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean): Promise\<void>;|@ohos.window.d.ts|
5|新增|NA|类名:window;<br>方法or属性:function setWaterMarkImage(pixelMap: image.PixelMap, enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.window.d.ts|
6|新增|NA|类名:window;<br>方法or属性:function on(type: 'waterMarkFlagChange', callback: Callback\<boolean>): void;|@ohos.window.d.ts|
7|新增|NA|类名:window;<br>方法or属性:function off(type: 'waterMarkFlagChange', callback?: Callback\<boolean>): void;|@ohos.window.d.ts|
8|访问级别有变化|类名:RRect;<br>方法or属性:left: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:left: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
9|访问级别有变化|类名:RRect;<br>方法or属性:top: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:top: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
10|访问级别有变化|类名:RRect;<br>方法or属性:width: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:width: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
11|访问级别有变化|类名:RRect;<br>方法or属性:height: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:height: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
12|访问级别有变化|类名:RRect;<br>方法or属性:radius: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:radius: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
13|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
14|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
15|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
16|访问级别有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>新版本信息:systemapi|@ohos.animation.windowAnimationManager.d.ts|
17|访问级别有变化|类名:WindowType;<br>方法or属性:TYPE_DIALOG<br>旧版本信息:systemapi|类名:WindowType;<br>方法or属性:TYPE_DIALOG<br>新版本信息:|@ohos.window.d.ts|
18|model有变化|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>新版本信息:StageModelOnly|@ohos.window.d.ts|
19|model有变化|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>新版本信息:StageModelOnly|@ohos.window.d.ts|
20|model有变化|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>新版本信息:StageModelOnly|@ohos.window.d.ts|
21|model有变化|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>新版本信息:StageModelOnly|@ohos.window.d.ts|
22|type有变化|类名:RRect;<br>方法or属性:left: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:left: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts|
23|type有变化|类名:RRect;<br>方法or属性:top: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:top: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts|
24|type有变化|类名:RRect;<br>方法or属性:width: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:width: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts|
25|type有变化|类名:RRect;<br>方法or属性:height: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:height: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts|
26|type有变化|类名:RRect;<br>方法or属性:radius: number;<br>旧版本信息:|类名:RRect;<br>方法or属性:radius: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts|
27|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly bundleName: string;<br>新版本信息:string|@ohos.animation.windowAnimationManager.d.ts|
28|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly abilityName: string;<br>新版本信息:string|@ohos.animation.windowAnimationManager.d.ts|
29|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly windowBounds: RRect;<br>新版本信息:RRect|@ohos.animation.windowAnimationManager.d.ts|
30|type有变化|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>旧版本信息:|类名:WindowAnimationTarget;<br>方法or属性:readonly missionId: number;<br>新版本信息:number|@ohos.animation.windowAnimationManager.d.ts|
31|type有变化|类名:AvoidArea;<br>方法or属性:visible: boolean;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:visible: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
32|type有变化|类名:AvoidArea;<br>方法or属性:leftRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:leftRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts|
33|type有变化|类名:AvoidArea;<br>方法or属性:topRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:topRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts|
34|type有变化|类名:AvoidArea;<br>方法or属性:rightRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:rightRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts|
35|type有变化|类名:AvoidArea;<br>方法or属性:bottomRect: Rect;<br>旧版本信息:|类名:AvoidArea;<br>方法or属性:bottomRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts|
36|type有变化|类名:Size;<br>方法or属性:width: number;<br>旧版本信息:|类名:Size;<br>方法or属性:width: number;<br>新版本信息:number|@ohos.window.d.ts|
37|type有变化|类名:Size;<br>方法or属性:height: number;<br>旧版本信息:|类名:Size;<br>方法or属性:height: number;<br>新版本信息:number|@ohos.window.d.ts|
38|type有变化|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:windowRect: Rect;<br>新版本信息:Rect|@ohos.window.d.ts|
39|type有变化|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>新版本信息:WindowType|@ohos.window.d.ts|
40|type有变化|类名:WindowProperties;<br>方法or属性:isFullScreen: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isFullScreen: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
41|type有变化|类名:WindowProperties;<br>方法or属性:isLayoutFullScreen: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isLayoutFullScreen: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
42|type有变化|类名:WindowProperties;<br>方法or属性:focusable: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:focusable: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
43|type有变化|类名:WindowProperties;<br>方法or属性:touchable: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:touchable: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
44|type有变化|类名:WindowProperties;<br>方法or属性:brightness: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:brightness: number;<br>新版本信息:number|@ohos.window.d.ts|
45|type有变化|类名:WindowProperties;<br>方法or属性:dimBehindValue: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:dimBehindValue: number;<br>新版本信息:number|@ohos.window.d.ts|
46|type有变化|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isKeepScreenOn: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
47|type有变化|类名:WindowProperties;<br>方法or属性:isPrivacyMode: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isPrivacyMode: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
48|type有变化|类名:WindowProperties;<br>方法or属性:isRoundCorner: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isRoundCorner: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
49|type有变化|类名:WindowProperties;<br>方法or属性:isTransparent: boolean;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:isTransparent: boolean;<br>新版本信息:boolean|@ohos.window.d.ts|
50|type有变化|类名:WindowProperties;<br>方法or属性:id: number;<br>旧版本信息:|类名:WindowProperties;<br>方法or属性:id: number;<br>新版本信息:number|@ohos.window.d.ts|
51|type有变化|类名:RotateOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:x?: number;<br>新版本信息:?number|@ohos.window.d.ts|
52|type有变化|类名:TranslateOptions;<br>方法or属性:x?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:x?: number;<br>新版本信息:?number|@ohos.window.d.ts|
53|type有变化|类名:RotateOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:y?: number;<br>新版本信息:?number|@ohos.window.d.ts|
54|type有变化|类名:TranslateOptions;<br>方法or属性:y?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:y?: number;<br>新版本信息:?number|@ohos.window.d.ts|
55|type有变化|类名:RotateOptions;<br>方法or属性:z?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:z?: number;<br>新版本信息:?number|@ohos.window.d.ts|
56|type有变化|类名:TranslateOptions;<br>方法or属性:z?: number;<br>旧版本信息:|类名:TranslateOptions;<br>方法or属性:z?: number;<br>新版本信息:?number|@ohos.window.d.ts|
57|type有变化|类名:RotateOptions;<br>方法or属性:pivotX?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:pivotX?: number;<br>新版本信息:?number|@ohos.window.d.ts|
58|type有变化|类名:RotateOptions;<br>方法or属性:pivotY?: number;<br>旧版本信息:|类名:RotateOptions;<br>方法or属性:pivotY?: number;<br>新版本信息:?number|@ohos.window.d.ts|
59|type有变化|类名:TransitionContext;<br>方法or属性:toWindow: Window;<br>旧版本信息:|类名:TransitionContext;<br>方法or属性:toWindow: Window;<br>新版本信息:Window|@ohos.window.d.ts|
60|type有变化|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>旧版本信息:|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>新版本信息:WindowType|@ohos.window.d.ts|
61|type有变化|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>旧版本信息:|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>新版本信息:?BaseContext|@ohos.window.d.ts|
62|type有变化|类名:Configuration;<br>方法or属性:displayId?: number;<br>旧版本信息:|类名:Configuration;<br>方法or属性:displayId?: number;<br>新版本信息:?number|@ohos.window.d.ts|
63|type有变化|类名:Configuration;<br>方法or属性:parentId?: number;<br>旧版本信息:|类名:Configuration;<br>方法or属性:parentId?: number;<br>新版本信息:?number|@ohos.window.d.ts|
64|跨平台能力有变化|类名:Rect;<br>方法or属性:interface Rect<br>旧版本信息:crossplatform|类名:Rect;<br>方法or属性:interface Rect<br>新版本信息:|@ohos.display.d.ts|
65|跨平台能力有变化|类名:Rect;<br>方法or属性:left: number;<br>旧版本信息:crossplatform|类名:Rect;<br>方法or属性:left: number;<br>新版本信息:|@ohos.display.d.ts|
66|跨平台能力有变化|类名:Rect;<br>方法or属性:top: number;<br>旧版本信息:crossplatform|类名:Rect;<br>方法or属性:top: number;<br>新版本信息:|@ohos.display.d.ts|
67|跨平台能力有变化|类名:Rect;<br>方法or属性:width: number;<br>旧版本信息:crossplatform|类名:Rect;<br>方法or属性:width: number;<br>新版本信息:|@ohos.display.d.ts|
68|跨平台能力有变化|类名:Rect;<br>方法or属性:height: number;<br>旧版本信息:crossplatform|类名:Rect;<br>方法or属性:height: number;<br>新版本信息:|@ohos.display.d.ts|
69|跨平台能力有变化|类名:window;<br>方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\<Window>): void;<br>旧版本信息:crossplatform|类名:window;<br>方法or属性:function createWindow(config: Configuration, callback: AsyncCallback\<Window>): void;<br>新版本信息:|@ohos.window.d.ts|
70|跨平台能力有变化|类名:window;<br>方法or属性:function createWindow(config: Configuration): Promise\<Window>;<br>旧版本信息:crossplatform|类名:window;<br>方法or属性:function createWindow(config: Configuration): Promise\<Window>;<br>新版本信息:|@ohos.window.d.ts|
71|跨平台能力有变化|类名:WindowType;<br>方法or属性:enum WindowType<br>旧版本信息:crossplatform|类名:WindowType;<br>方法or属性:enum WindowType<br>新版本信息:|@ohos.window.d.ts|
72|跨平台能力有变化|类名:WindowType;<br>方法or属性:TYPE_APP<br>旧版本信息:crossplatform|类名:WindowType;<br>方法or属性:TYPE_APP<br>新版本信息:|@ohos.window.d.ts|
73|跨平台能力有变化|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>旧版本信息:crossplatform|类名:WindowProperties;<br>方法or属性:type: WindowType;<br>新版本信息:|@ohos.window.d.ts|
74|跨平台能力有变化|类名:Configuration;<br>方法or属性:interface Configuration<br>旧版本信息:crossplatform|类名:Configuration;<br>方法or属性:interface Configuration<br>新版本信息:|@ohos.window.d.ts|
75|跨平台能力有变化|类名:Configuration;<br>方法or属性:name: string;<br>旧版本信息:crossplatform|类名:Configuration;<br>方法or属性:name: string;<br>新版本信息:|@ohos.window.d.ts|
76|跨平台能力有变化|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>旧版本信息:crossplatform|类名:Configuration;<br>方法or属性:windowType: WindowType;<br>新版本信息:|@ohos.window.d.ts|
77|跨平台能力有变化|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>旧版本信息:crossplatform|类名:Configuration;<br>方法or属性:ctx?: BaseContext;<br>新版本信息:|@ohos.window.d.ts|
78|跨平台能力有变化|类名:Configuration;<br>方法or属性:displayId?: number;<br>旧版本信息:crossplatform|类名:Configuration;<br>方法or属性:displayId?: number;<br>新版本信息:|@ohos.window.d.ts|
79|跨平台能力有变化|类名:Configuration;<br>方法or属性:parentId?: number;<br>旧版本信息:crossplatform|类名:Configuration;<br>方法or属性:parentId?: number;<br>新版本信息:|@ohos.window.d.ts|
80|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:enum WindowStageEventType<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:enum WindowStageEventType<br>新版本信息:crossplatform|@ohos.window.d.ts|
81|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:SHOWN = 1<br>新版本信息:crossplatform|@ohos.window.d.ts|
82|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:ACTIVE<br>新版本信息:crossplatform|@ohos.window.d.ts|
83|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:INACTIVE<br>新版本信息:crossplatform|@ohos.window.d.ts|
84|跨平台能力有变化|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>旧版本信息:|类名:WindowStageEventType;<br>方法or属性:HIDDEN<br>新版本信息:crossplatform|@ohos.window.d.ts|
85