js-apidiff-window.md 13.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
| Change Type | Old Version | New Version | d.ts File |
| ---- | ------ | ------ | -------- |
|Added|NA|Method or attribute name: onConnect<br>Function name: onConnect(want: Want): void;|@ohos.application.WindowExtensionAbility.d.ts|
|Added|NA|Method or attribute name: onWindowReady<br>Function name: onWindowReady(window: window.Window): void;|@ohos.application.WindowExtensionAbility.d.ts|
|Added|NA|Method or attribute name: save<br>Function name: function save(options: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void;|@ohos.screenshot.d.ts|
|Added|NA|Method or attribute name: save<br>Function name: function save(callback: AsyncCallback<image.PixelMap>): void;|@ohos.screenshot.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: WindowProperties<br>Method or attribute name: id|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: Configuration|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: Configuration<br>Method or attribute name: name|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: Configuration<br>Method or attribute name: windowType|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: Configuration<br>Method or attribute name: ctx|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: Configuration<br>Method or attribute name: displayId|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: Configuration<br>Method or attribute name: parentId|@ohos.window.d.ts|
|Added|NA|Method or attribute name: create<br>Function name: function create(ctx: BaseContext, id: string, type: WindowType): Promise<Window>;|@ohos.window.d.ts|
|Added|NA|Method or attribute name: create<br>Function name: function create(ctx: BaseContext, id: string, type: WindowType, callback: AsyncCallback<Window>): void;|@ohos.window.d.ts|
|Added|NA|Method or attribute name: getTopWindow<br>Function name: function getTopWindow(ctx: BaseContext): Promise<Window>;|@ohos.window.d.ts|
|Added|NA|Method or attribute name: getTopWindow<br>Function name: function getTopWindow(ctx: BaseContext, callback: AsyncCallback<Window>): void;|@ohos.window.d.ts|
|Added|NA|Method or attribute name: bindDialogTarget<br>Function name: bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback<void>, callback: AsyncCallback<void>): void;|@ohos.window.d.ts|
|Added|NA|Module name: ohos.window<br>Class name: WindowStage<br>Method or attribute name: getMainWindowSync|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getDefaultDisplay<br>Deprecated version: N/A|Method or attribute name: getDefaultDisplay<br>Deprecated version: 9<br>Substitute API: ohos.display|@ohos.display.d.ts|
|Deprecated version changed|Method or attribute name: getDefaultDisplay<br>Deprecated version: N/A|Method or attribute name: getDefaultDisplay<br>Deprecated version: 9<br>Substitute API: ohos.display|@ohos.display.d.ts|
|Deprecated version changed|Method or attribute name: getAllDisplay<br>Deprecated version: N/A|Method or attribute name: getAllDisplay<br>Deprecated version: 9<br>Substitute API: ohos.display|@ohos.display.d.ts|
|Deprecated version changed|Method or attribute name: getAllDisplay<br>Deprecated version: N/A|Method or attribute name: getAllDisplay<br>Deprecated version: 9<br>Substitute API: ohos.display|@ohos.display.d.ts|
|Deprecated version changed|Method or attribute name: create<br>Deprecated version: N/A|Method or attribute name: create<br>Deprecated version: 9<br>Substitute API: ohos.window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: create<br>Deprecated version: N/A|Method or attribute name: create<br>Deprecated version: 9<br>Substitute API: ohos.window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: find<br>Deprecated version: N/A|Method or attribute name: find<br>Deprecated version: 9<br>Substitute API: ohos.window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: find<br>Deprecated version: N/A|Method or attribute name: find<br>Deprecated version: 9<br>Substitute API: ohos.window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getTopWindow<br>Deprecated version: N/A|Method or attribute name: getTopWindow<br>Deprecated version: 9<br>Substitute API: ohos.window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getTopWindow<br>Deprecated version: N/A|Method or attribute name: getTopWindow<br>Deprecated version: 9<br>Substitute API: ohos.window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: show<br>Deprecated version: N/A|Method or attribute name: show<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: show<br>Deprecated version: N/A|Method or attribute name: show<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: destroy<br>Deprecated version: N/A|Method or attribute name: destroy<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: destroy<br>Deprecated version: N/A|Method or attribute name: destroy<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: moveTo<br>Deprecated version: N/A|Method or attribute name: moveTo<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: moveTo<br>Deprecated version: N/A|Method or attribute name: moveTo<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: resetSize<br>Deprecated version: N/A|Method or attribute name: resetSize<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: resetSize<br>Deprecated version: N/A|Method or attribute name: resetSize<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getProperties<br>Deprecated version: N/A|Method or attribute name: getProperties<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getProperties<br>Deprecated version: N/A|Method or attribute name: getProperties<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getAvoidArea<br>Deprecated version: N/A|Method or attribute name: getAvoidArea<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getAvoidArea<br>Deprecated version: N/A|Method or attribute name: getAvoidArea<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setFullScreen<br>Deprecated version: N/A|Method or attribute name: setFullScreen<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setFullScreen<br>Deprecated version: N/A|Method or attribute name: setFullScreen<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setLayoutFullScreen<br>Deprecated version: N/A|Method or attribute name: setLayoutFullScreen<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setLayoutFullScreen<br>Deprecated version: N/A|Method or attribute name: setLayoutFullScreen<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setSystemBarEnable<br>Deprecated version: N/A|Method or attribute name: setSystemBarEnable<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setSystemBarEnable<br>Deprecated version: N/A|Method or attribute name: setSystemBarEnable<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setSystemBarProperties<br>Deprecated version: N/A|Method or attribute name: setSystemBarProperties<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setSystemBarProperties<br>Deprecated version: N/A|Method or attribute name: setSystemBarProperties<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: loadContent<br>Deprecated version: N/A|Method or attribute name: loadContent<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: loadContent<br>Deprecated version: N/A|Method or attribute name: loadContent<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: isShowing<br>Deprecated version: N/A|Method or attribute name: isShowing<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: isShowing<br>Deprecated version: N/A|Method or attribute name: isShowing<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: isSupportWideGamut<br>Deprecated version: N/A|Method or attribute name: isSupportWideGamut<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: isSupportWideGamut<br>Deprecated version: N/A|Method or attribute name: isSupportWideGamut<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setColorSpace<br>Deprecated version: N/A|Method or attribute name: setColorSpace<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setColorSpace<br>Deprecated version: N/A|Method or attribute name: setColorSpace<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getColorSpace<br>Deprecated version: N/A|Method or attribute name: getColorSpace<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: getColorSpace<br>Deprecated version: N/A|Method or attribute name: getColorSpace<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setBackgroundColor<br>Deprecated version: N/A|Method or attribute name: setBackgroundColor<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setBackgroundColor<br>Deprecated version: N/A|Method or attribute name: setBackgroundColor<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setBrightness<br>Deprecated version: N/A|Method or attribute name: setBrightness<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setBrightness<br>Deprecated version: N/A|Method or attribute name: setBrightness<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setFocusable<br>Deprecated version: N/A|Method or attribute name: setFocusable<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setFocusable<br>Deprecated version: N/A|Method or attribute name: setFocusable<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setKeepScreenOn<br>Deprecated version: N/A|Method or attribute name: setKeepScreenOn<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setKeepScreenOn<br>Deprecated version: N/A|Method or attribute name: setKeepScreenOn<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setPrivacyMode<br>Deprecated version: N/A|Method or attribute name: setPrivacyMode<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setPrivacyMode<br>Deprecated version: N/A|Method or attribute name: setPrivacyMode<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setTouchable<br>Deprecated version: N/A|Method or attribute name: setTouchable<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Deprecated version changed|Method or attribute name: setTouchable<br>Deprecated version: N/A|Method or attribute name: setTouchable<br>Deprecated version: 9<br>Substitute API: ohos.window.Window|@ohos.window.d.ts|
|Permission changed|Method or attribute name: createVirtualScreen<br>Permission: ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid|Method or attribute name: createVirtualScreen<br>Permission: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts|
|Permission changed|Method or attribute name: createVirtualScreen<br>Permission: ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid|Method or attribute name: createVirtualScreen<br>Permission: ohos.permission.CAPTURE_SCREEN|@ohos.screen.d.ts|