public class AbilityStartSetting extends Object
SystemCapability.Aafwk#ABILITY| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
BOUNDS_KEY |
Indicates the name of the ability window size property.
|
static String |
WINDOW_DISPLAY_ID_KEY |
Indicates the name of the display device ID property.
|
static String |
WINDOW_MODE_KEY |
Indicates the name of the ability window display mode property.
|
| 限定符 | 构造器 | 说明 |
|---|---|---|
protected |
AbilityStartSetting() |
Default constructor.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static AbilityStartSetting |
getEmptySetting() |
Obtains an empty
AbilityStartSetting object. |
Set<String> |
getPropertiesKey() |
Obtains the names of all the properties that have been added to this
AbilityStartSetting object. |
boolean |
isEmpty() |
Checks whether this
AbilityStartSetting object is empty. |
public static final String BOUNDS_KEY
This property takes effect when the Page ability is in
AbilityWindowConfiguration.MULTI_WINDOW_DISPLAY_FLOATING mode.
You are advised to set this property when starting a new mission.
public static final String WINDOW_DISPLAY_ID_KEY
This property is used for presenting the window display of an ability on another device, for example, projecting the window of an ability from the current device to a TV.
public static AbilityStartSetting getEmptySetting()
AbilityStartSetting object.AbilityStartSetting object.public boolean isEmpty()
AbilityStartSetting object is empty.true if this AbilityStartSetting object is empty and animatorOption is null;
returns false otherwise.public Set<String> getPropertiesKey()
AbilityStartSetting object.AbilityStartSetting object.