feat: add supportWindowModes

Signed-off-by: yangxuguang-huawei <yangxuguang3@huawei.com>
This commit is contained in:
yangxuguang-huawei 2024-11-12 20:14:24 +08:00
parent e3b40dcda2
commit 11e4cc43aa

View File

@ -20,6 +20,7 @@
import contextConstant from "./@ohos.app.ability.contextConstant";
import image from "./@ohos.multimedia.image";
import bundleManager from './@ohos.bundle.bundleManager';
/**
* StartOptions is the basic communication component of the system.
@ -173,4 +174,14 @@ export default class StartOptions {
* @since 14
*/
startWindowBackgroundColor?: string;
/**
* The support window modes.
*
* @type { ?Array<bundleManager.SupportWindowMode> }
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @stagemodelonly
* @since 14
*/
supportWindowModes?: Array<bundleManager.SupportWindowMode>;
}