diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 0849c93a1f6d4de06f0852a7d92d706ea0181a4a..aded7ac14a9e909f31d5f3c4cb82881c1d8b7c33 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -788,20 +788,20 @@ declare namespace window { setSystemBarProperties(systemBarProperties: SystemBarProperties): Promise; /** - * Set the requested orientation config of the window + * Set the preferred orientation config of the window * @param orientation the orientation config of the window * @syscap SystemCapability.WindowManager.WindowManager.Core * @since 9 */ - setRequestedOrientation(orientation: Orientation): Promise; + setPreferredOrientation(orientation: Orientation): Promise; /** - * Set the requested orientation config of the window + * Set the preferred orientation config of the window * @param orientation the orientation config of the window * @syscap SystemCapability.WindowManager.WindowManager.Core * @since 9 */ - setRequestedOrientation(orientation: Orientation, callback: AsyncCallback): void; + setPreferredOrientation(orientation: Orientation, callback: AsyncCallback): void; /** * Loads content