| 操作 | 旧版本 | 新版本 | d.ts文件 |
|---|---|---|---|
| 新增 | NA | 方法名 or 属性名:onConnect 函数:onConnect(want: Want): void; | @ohos.application.WindowExtensionAbility.d.ts |
| 新增 | NA | 方法名 or 属性名:onWindowReady 函数:onWindowReady(window: window.Window): void; | @ohos.application.WindowExtensionAbility.d.ts |
| 新增 | NA | 方法名 or 属性名:save 函数:function save(options: ScreenshotOptions, callback: AsyncCallback<image.PixelMap>): void; | @ohos.screenshot.d.ts |
| 新增 | NA | 方法名 or 属性名:save 函数:function save(callback: AsyncCallback<image.PixelMap>): void; | @ohos.screenshot.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: WindowProperties 方法名 or 属性名:id | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: Configuration | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: Configuration 方法名 or 属性名:name | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: Configuration 方法名 or 属性名:windowType | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: Configuration 方法名 or 属性名:ctx | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: Configuration 方法名 or 属性名:displayId | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: Configuration 方法名 or 属性名:parentId | @ohos.window.d.ts |
| 新增 | NA | 方法名 or 属性名:create 函数:function create(ctx: BaseContext, id: string, type: WindowType): Promise | @ohos.window.d.ts |
| 新增 | NA | 方法名 or 属性名:create 函数:function create(ctx: BaseContext, id: string, type: WindowType, callback: AsyncCallback | @ohos.window.d.ts |
| 新增 | NA | 方法名 or 属性名:getTopWindow 函数:function getTopWindow(ctx: BaseContext): Promise | @ohos.window.d.ts |
| 新增 | NA | 方法名 or 属性名:getTopWindow 函数:function getTopWindow(ctx: BaseContext, callback: AsyncCallback | @ohos.window.d.ts |
| 新增 | NA | 方法名 or 属性名:bindDialogTarget 函数:bindDialogTarget(token: rpc.RemoteObject, deathCallback: Callback | @ohos.window.d.ts |
| 新增 | NA | 模块名: ohos.window 类名: WindowStage 方法名 or 属性名:getMainWindowSync | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getDefaultDisplay 废弃版本:N/A | 方法名 or 属性名:getDefaultDisplay 废弃版本:9 代替接口:ohos.display | @ohos.display.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getDefaultDisplay 废弃版本:N/A | 方法名 or 属性名:getDefaultDisplay 废弃版本:9 代替接口:ohos.display | @ohos.display.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getAllDisplay 废弃版本:N/A | 方法名 or 属性名:getAllDisplay 废弃版本:9 代替接口:ohos.display | @ohos.display.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getAllDisplay 废弃版本:N/A | 方法名 or 属性名:getAllDisplay 废弃版本:9 代替接口:ohos.display | @ohos.display.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:create 废弃版本:N/A | 方法名 or 属性名:create 废弃版本:9 代替接口:ohos.window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:create 废弃版本:N/A | 方法名 or 属性名:create 废弃版本:9 代替接口:ohos.window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:find 废弃版本:N/A | 方法名 or 属性名:find 废弃版本:9 代替接口:ohos.window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:find 废弃版本:N/A | 方法名 or 属性名:find 废弃版本:9 代替接口:ohos.window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getTopWindow 废弃版本:N/A | 方法名 or 属性名:getTopWindow 废弃版本:9 代替接口:ohos.window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getTopWindow 废弃版本:N/A | 方法名 or 属性名:getTopWindow 废弃版本:9 代替接口:ohos.window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:show 废弃版本:N/A | 方法名 or 属性名:show 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:show 废弃版本:N/A | 方法名 or 属性名:show 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:destroy 废弃版本:N/A | 方法名 or 属性名:destroy 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:destroy 废弃版本:N/A | 方法名 or 属性名:destroy 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:moveTo 废弃版本:N/A | 方法名 or 属性名:moveTo 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:moveTo 废弃版本:N/A | 方法名 or 属性名:moveTo 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:resetSize 废弃版本:N/A | 方法名 or 属性名:resetSize 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:resetSize 废弃版本:N/A | 方法名 or 属性名:resetSize 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getProperties 废弃版本:N/A | 方法名 or 属性名:getProperties 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getProperties 废弃版本:N/A | 方法名 or 属性名:getProperties 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getAvoidArea 废弃版本:N/A | 方法名 or 属性名:getAvoidArea 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getAvoidArea 废弃版本:N/A | 方法名 or 属性名:getAvoidArea 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setFullScreen 废弃版本:N/A | 方法名 or 属性名:setFullScreen 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setFullScreen 废弃版本:N/A | 方法名 or 属性名:setFullScreen 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setLayoutFullScreen 废弃版本:N/A | 方法名 or 属性名:setLayoutFullScreen 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setLayoutFullScreen 废弃版本:N/A | 方法名 or 属性名:setLayoutFullScreen 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setSystemBarEnable 废弃版本:N/A | 方法名 or 属性名:setSystemBarEnable 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setSystemBarEnable 废弃版本:N/A | 方法名 or 属性名:setSystemBarEnable 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setSystemBarProperties 废弃版本:N/A | 方法名 or 属性名:setSystemBarProperties 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setSystemBarProperties 废弃版本:N/A | 方法名 or 属性名:setSystemBarProperties 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:loadContent 废弃版本:N/A | 方法名 or 属性名:loadContent 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:loadContent 废弃版本:N/A | 方法名 or 属性名:loadContent 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isShowing 废弃版本:N/A | 方法名 or 属性名:isShowing 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isShowing 废弃版本:N/A | 方法名 or 属性名:isShowing 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isSupportWideGamut 废弃版本:N/A | 方法名 or 属性名:isSupportWideGamut 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:isSupportWideGamut 废弃版本:N/A | 方法名 or 属性名:isSupportWideGamut 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setColorSpace 废弃版本:N/A | 方法名 or 属性名:setColorSpace 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setColorSpace 废弃版本:N/A | 方法名 or 属性名:setColorSpace 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getColorSpace 废弃版本:N/A | 方法名 or 属性名:getColorSpace 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:getColorSpace 废弃版本:N/A | 方法名 or 属性名:getColorSpace 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setBackgroundColor 废弃版本:N/A | 方法名 or 属性名:setBackgroundColor 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setBackgroundColor 废弃版本:N/A | 方法名 or 属性名:setBackgroundColor 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setBrightness 废弃版本:N/A | 方法名 or 属性名:setBrightness 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setBrightness 废弃版本:N/A | 方法名 or 属性名:setBrightness 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setFocusable 废弃版本:N/A | 方法名 or 属性名:setFocusable 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setFocusable 废弃版本:N/A | 方法名 or 属性名:setFocusable 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setKeepScreenOn 废弃版本:N/A | 方法名 or 属性名:setKeepScreenOn 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setKeepScreenOn 废弃版本:N/A | 方法名 or 属性名:setKeepScreenOn 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setPrivacyMode 废弃版本:N/A | 方法名 or 属性名:setPrivacyMode 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setPrivacyMode 废弃版本:N/A | 方法名 or 属性名:setPrivacyMode 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setTouchable 废弃版本:N/A | 方法名 or 属性名:setTouchable 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 废弃版本有变化 | 方法名 or 属性名:setTouchable 废弃版本:N/A | 方法名 or 属性名:setTouchable 废弃版本:9 代替接口:ohos.window.Window | @ohos.window.d.ts |
| 权限有变化 | 方法名 or 属性名:createVirtualScreen 权限:ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid | 方法名 or 属性名:createVirtualScreen 权限:ohos.permission.CAPTURE_SCREEN | @ohos.screen.d.ts |
| 权限有变化 | 方法名 or 属性名:createVirtualScreen 权限:ohos.permission.CAPTURE_SCREEN. if VirtualScreenOption.surfaceId is valid | 方法名 or 属性名:createVirtualScreen 权限:ohos.permission.CAPTURE_SCREEN | @ohos.screen.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application
harmony 鸿蒙js-apidiff-communication