openharmony 鸿蒙 js-apidiff-window

2023-06-24 浏览 (531)

Change TypeOld VersionNew Versiond.ts File
AddedNAModule name: ohos.display
Class name: display
Method or attribute name: function on(type: 'privateModeChange', callback: Callback<boolean>): void;
@ohos.display.d.ts
AddedNAClass name: display
Method or attribute name: function on(type: 'privateModeChange', callback: Callback<boolean>): void;
@ohos.display.d.ts
AddedNAModule name: ohos.display
Class name: display
Method or attribute name: function off(type: 'privateModeChange', callback?: Callback<boolean>): void;
@ohos.display.d.ts
AddedNAModule name: ohos.display
Class name: Orientation
@ohos.display.d.ts
AddedNAModule name: ohos.display
Class name: Orientation
Method or attribute name: PORTRAIT = 0
@ohos.display.d.ts
AddedNAModule name: ohos.display
Class name: Orientation
Method or attribute name: LANDSCAPE = 1
@ohos.display.d.ts
AddedNAModule name: ohos.display
Class name: Orientation
Method or attribute name: PORTRAIT_INVERTED = 2
@ohos.display.d.ts
AddedNAModule name: ohos.display
Class name: Orientation
Method or attribute name: LANDSCAPE_INVERTED = 3
@ohos.display.d.ts
AddedNAClass name: Display
Method or attribute name: orientation: Orientation;
@ohos.display.d.ts
AddedNAClass name: screen
Method or attribute name: function stopExpand(expandScreen: Array<number>, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
AddedNAClass name: screen
Method or attribute name: function stopExpand(expandScreen: Array<number>): Promise<void>;
@ohos.screen.d.ts
AddedNAClass name: screen
Method or attribute name: function stopMirror(mirrorScreen: Array<number>, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
AddedNAClass name: screen
Method or attribute name: function stopMirror(mirrorScreen: Array<number>): Promise<void>;
@ohos.screen.d.ts
AddedNAModule name: ohos.screen
Class name: ScreenSourceMode
@ohos.screen.d.ts
AddedNAClass name: ScreenSourceMode
Method or attribute name:
@ohos.screen.d.ts
AddedNAModule name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_MAIN = 0
@ohos.screen.d.ts
AddedNAModule name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_MIRROR = 1
@ohos.screen.d.ts
AddedNAModule name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_EXTEND = 2
@ohos.screen.d.ts
AddedNAModule name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_ALONE = 3
@ohos.screen.d.ts
AddedNAModule name: ohos.screen
Class name: Screen
Method or attribute name: readonly sourceMode: ScreenSourceMode;
@ohos.screen.d.ts
AddedNAClass name: window
Method or attribute name: function setGestureNavigationEnabled(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
AddedNAClass name: window
Method or attribute name: function setGestureNavigationEnabled(enable: boolean): Promise<void>;
@ohos.window.d.ts
AddedNAClass name: window
Method or attribute name: function on(type: 'gestureNavigationEnabledChange', callback: Callback<boolean>): void;
@ohos.window.d.ts
AddedNAClass name: window
Method or attribute name: function off(type: 'gestureNavigationEnabledChange', callback?: Callback<boolean>): void;
@ohos.window.d.ts
AddedNAModule name: ohos.window
Class name: WindowEventType
@ohos.window.d.ts
AddedNAClass name: WindowEventType
Method or attribute name:
@ohos.window.d.ts
AddedNAModule name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_SHOWN = 1
@ohos.window.d.ts
AddedNAModule name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_ACTIVE = 2
@ohos.window.d.ts
AddedNAModule name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_INACTIVE = 3
@ohos.window.d.ts
AddedNAModule name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_HIDDEN = 4
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: on(type: 'dialogTargetTouch', callback: Callback<void>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: off(type: 'dialogTargetTouch', callback?: Callback<void>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: on(type: 'windowEvent', callback: Callback<WindowEventType>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: off(type: 'windowEvent', callback: Callback<WindowEventType>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: raiseToAppTop(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: raiseToAppTop(): Promise<void>;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: setAspectRatio(ratio: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: setAspectRatio(ratio: number): Promise<void>;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: resetAspectRatio(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: resetAspectRatio(): Promise<void>;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: setWaterMarkFlag(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
AddedNAClass name: Window
Method or attribute name: setWaterMarkFlag(enable: boolean): Promise<void>;
@ohos.window.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/48f4a258567144d4a321200b628cd48d