!10639 StartOption支持窗口不获焦

Merge pull request !10639 from 孙旭辉/master
This commit is contained in:
openharmony_ci 2024-04-25 01:46:23 +00:00 committed by Gitee
commit cfd6131840
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -118,6 +118,17 @@ export default class StartOptions {
*/
windowHeight?: number;
/**
* Indicates the window is focused.
*
* @type { ?boolean }
* @syscap SystemCapability.Ability.AbilityRuntime.Core
* @systemapi
* @stagemodelonly
* @since 12
*/
windowFocused?: boolean;
/**
* The process mode.
* This property only takes effect when calling UIAbilityContext.startAbility.