PromptResult

public enum PromptResult : Sendable

Represents the possible outcomes after a user interacts with a prompt.

Used to track and handle user actions such as dismissing, completing, or skipping different steps in the prompt flow. Conforms to Sendable for concurrency safety.

  • The user dismissed the prompt without submitting a rating.

    Declaration

    Swift

    case cancelled
  • The user submitted both a rating and a comment (if applicable).

    Declaration

    Swift

    case completed
  • The user submitted a rating without a comment. This may occur if a comment was not requested or was left empty.

    Declaration

    Swift

    case completedWithoutComment
  • The user was redirected to the app store after submitting a rating, with or without a comment.

    Declaration

    Swift

    case redirectedToStore
  • The user skipped the store review process and dismissed the prompt.

    Declaration

    Swift

    case storeReviewSkipped