From e0c14a6a95fc02f8d7dd416246e77914cef4bc04 Mon Sep 17 00:00:00 2001 From: shilei Date: Tue, 28 Jun 2022 19:44:50 +0800 Subject: [PATCH] add interface Signed-off-by: shilei --- api/@ohos.bundle.d.ts | 63 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index 99b9e78ad5..753a4ec4e7 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -204,6 +204,69 @@ declare namespace bundle { * @syscap SystemCapability.BundleManager.BundleFramework */ FOLLOW_RECENT, + + /** + * @default Indicates the inverted landscape orientation + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + LANDSCAPE_INVERTED, + + /** + * @default Indicates the inverted portrait orientation + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + PORTRAIT_INVERTED, + + /** + * @default Indicates the orientation can be auto-rotated + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + AUTO_ROTATION, + + /** + * @default Indicates the landscape orientation rotated with sensor + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + AUTO_ROTATION_LANDSCAPE, + + /** + * @default Indicates the portrait orientation rotated with sensor + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + AUTO_ROTATION_PORTRAIT, + + /** + * @default Indicates the sensor restricted mode + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + AUTO_ROTATION_RESTRICTED, + + /** + * @default Indicates the sensor landscape restricted mode + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + AUTO_ROTATION_LANDSCAPE_RESTRICTED, + + /** + * @default Indicates the sensor portrait restricted mode + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + AUTO_ROTATION_PORTRAIT_RESTRICTED, + + /** + * @default Indicates the locked orientation mode + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + LOCKED, } /** -- Gitee