已合并
softlist-interface-abilityconst #33354
wangzhengji创建于 5月30日
softlist-interface-abilityconst #33354
已合并
共 1 个文件变更+11-1
| @@ -40,10 +40,20 @@ declare namespace AbilityConstant { | |||
| 40 | * | 40 | * |
| 41 | * | 41 | * |
| 42 | * 20 dynamic | 42 | * 20 dynamic |
| 43 | - * 23 static | ||
| 44 | */ | 43 | */ |
| 45 | const REASON_MESSAGE_DESKTOP_SHORTCUT = 'ReasonMessage_DesktopShortcut'; | 44 | const REASON_MESSAGE_DESKTOP_SHORTCUT = 'ReasonMessage_DesktopShortcut'; |
| 46 | 45 | ||
| 46 | + /** | ||
| 47 | + * The UIAbility is launched via a home screen shortcut. If this string is obtained from the **launchReasonMessage** | ||
| 48 | + * property in [LaunchParam]{ AbilityConstant.LaunchParam}, the UIAbility is initiated by touching a shortcut on | ||
| 49 | + * the home screen. | ||
| 50 | + * | ||
| 51 | + * SystemCapability.Ability.AbilityBase | ||
| 52 | + * | ||
| 53 | + * 23 static | ||
| 54 | + */ | ||
| 55 | + const REASON_MESSAGE_DESKTOP_SHORTCUT: string; | ||
| 56 | + | ||
| 47 | /** | 57 | /** |
| 48 | * Describes the launch parameters, which mainly include the ability launch reasons and reasons for the last exit. The | 58 | * Describes the launch parameters, which mainly include the ability launch reasons and reasons for the last exit. The |
| 49 | * parameter values are automatically passed in by the system when the ability is launched. You do not need to change | 59 | * parameter values are automatically passed in by the system when the ability is launched. You do not need to change |