!14684 startOptions新增supportWindowModes字段

Merge pull request !14684 from 杨旭光/feat/support-window-modes
This commit is contained in:
openharmony_ci 2024-11-15 01:39:31 +00:00 committed by Gitee
commit ad806aa5cf
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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>;
}