harmony 鸿蒙js-apidiff-window

  • 2023-06-24
  • 浏览 (401)

Change Type Old Version New Version d.ts File
Added NA Module name: ohos.display
Class name: display
Method or attribute name: function on(type: ‘privateModeChange’, callback: Callback<boolean>): void;
@ohos.display.d.ts
Added NA Class name: display
Method or attribute name: function on(type: ‘privateModeChange’, callback: Callback<boolean>): void;
@ohos.display.d.ts
Added NA Module name: ohos.display
Class name: display
Method or attribute name: function off(type: ‘privateModeChange’, callback?: Callback<boolean>): void;
@ohos.display.d.ts
Added NA Module name: ohos.display
Class name: Orientation
@ohos.display.d.ts
Added NA Module name: ohos.display
Class name: Orientation
Method or attribute name: PORTRAIT = 0
@ohos.display.d.ts
Added NA Module name: ohos.display
Class name: Orientation
Method or attribute name: LANDSCAPE = 1
@ohos.display.d.ts
Added NA Module name: ohos.display
Class name: Orientation
Method or attribute name: PORTRAIT_INVERTED = 2
@ohos.display.d.ts
Added NA Module name: ohos.display
Class name: Orientation
Method or attribute name: LANDSCAPE_INVERTED = 3
@ohos.display.d.ts
Added NA Class name: Display
Method or attribute name: orientation: Orientation;
@ohos.display.d.ts
Added NA Class name: screen
Method or attribute name: function stopExpand(expandScreen: Array<number>, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
Added NA Class name: screen
Method or attribute name: function stopExpand(expandScreen: Array<number>): Promise<void>;
@ohos.screen.d.ts
Added NA Class name: screen
Method or attribute name: function stopMirror(mirrorScreen: Array<number>, callback: AsyncCallback<void>): void;
@ohos.screen.d.ts
Added NA Class name: screen
Method or attribute name: function stopMirror(mirrorScreen: Array<number>): Promise<void>;
@ohos.screen.d.ts
Added NA Module name: ohos.screen
Class name: ScreenSourceMode
@ohos.screen.d.ts
Added NA Class name: ScreenSourceMode
Method or attribute name:
@ohos.screen.d.ts
Added NA Module name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_MAIN = 0
@ohos.screen.d.ts
Added NA Module name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_MIRROR = 1
@ohos.screen.d.ts
Added NA Module name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_EXTEND = 2
@ohos.screen.d.ts
Added NA Module name: ohos.screen
Class name: ScreenSourceMode
Method or attribute name: SCREEN_ALONE = 3
@ohos.screen.d.ts
Added NA Module name: ohos.screen
Class name: Screen
Method or attribute name: readonly sourceMode: ScreenSourceMode;
@ohos.screen.d.ts
Added NA Class name: window
Method or attribute name: function setGestureNavigationEnabled(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: window
Method or attribute name: function setGestureNavigationEnabled(enable: boolean): Promise<void>;
@ohos.window.d.ts
Added NA Class name: window
Method or attribute name: function on(type: ‘gestureNavigationEnabledChange’, callback: Callback<boolean>): void;
@ohos.window.d.ts
Added NA Class name: window
Method or attribute name: function off(type: ‘gestureNavigationEnabledChange’, callback?: Callback<boolean>): void;
@ohos.window.d.ts
Added NA Module name: ohos.window
Class name: WindowEventType
@ohos.window.d.ts
Added NA Class name: WindowEventType
Method or attribute name:
@ohos.window.d.ts
Added NA Module name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_SHOWN = 1
@ohos.window.d.ts
Added NA Module name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_ACTIVE = 2
@ohos.window.d.ts
Added NA Module name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_INACTIVE = 3
@ohos.window.d.ts
Added NA Module name: ohos.window
Class name: WindowEventType
Method or attribute name: WINDOW_HIDDEN = 4
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: on(type: ‘dialogTargetTouch’, callback: Callback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: off(type: ‘dialogTargetTouch’, callback?: Callback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: on(type: ‘windowEvent’, callback: Callback<WindowEventType>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: off(type: ‘windowEvent’, callback: Callback<WindowEventType>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: raiseToAppTop(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: raiseToAppTop(): Promise<void>;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: setAspectRatio(ratio: number, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: setAspectRatio(ratio: number): Promise<void>;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: resetAspectRatio(callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: resetAspectRatio(): Promise<void>;
@ohos.window.d.ts
Added NA Class name: Window
Method or attribute name: setWaterMarkFlag(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.window.d.ts
Added NA Class 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

0  赞