API Reference > imodeljs-frontend > Notifications > ActivityMessageDetails ActivityMessageDetails Class Specifies the details of an activity message to be displayed to the user. Methods Name Description constructor(showProgressBar: boolean, showPercentInMessage: boolean, supportsCancellation: boolean, showDialogInitially: boolean = true): ActivityMessageDetails onActivityCancelled(): void Called from NotificationAdmin when the user cancels the activity. onActivityCompleted(): void Called from NotificationAdmin when the activity completes successfully. Properties Name Type Description showDialogInitially ConstructorProperty boolean Indicates whether to show the activity message dialog initially. showPercentInMessage ConstructorProperty boolean Indicates whether to show the percentage complete in the activity message text. showProgressBar ConstructorProperty boolean Indicates whether to show the progress bar in the activity message dialog. supportsCancellation ConstructorProperty boolean Indicates whether to show the Cancel button, giving the user the ability to cancel the operation. wasCancelled boolean Defined in core/frontend/src/NotificationManager.ts Line 151 Last Updated: 13 June, 2024