PromptMomentNotificationExtension extension
The methods of the PromptMomentNotification data type:
Methods
-
getDismissedReason(
) → MomentDismissedReason? - The detailed reason for the dismissal.
-
getMomentType(
) → MomentType - The moment type.
-
getNotDisplayedReason(
) → MomentNotDisplayedReason? - The detailed reason why the UI isn't displayed.
-
getSkippedReason(
) → MomentSkippedReason? - The detailed reason for the skipped moment.
-
isDismissedMoment(
) → bool - Is this notification for a dismissed moment?
-
isDisplayed(
) → bool - Is this notification for a display moment, and the UI is displayed?
-
isDisplayMoment(
) → bool - Is this notification for a display moment?
-
isNotDisplayed(
) → bool - Is this notification for a display moment, and the UI isn't displayed?
-
isSkippedMoment(
) → bool - Is this notification for a skipped moment?