Enumerations

The following enumerations are available globally.

  • Represents the sentiment type of an application event.

    Used to categorize events as either positive or negative interactions, which can help in analytics, scoring systems, or feedback evaluation. Conforms to Codable for JSON encoding/decoding.

    See more

    Declaration

    Swift

    public enum AppEventType : String, Codable
  • Represents the runtime environment configuration for the application.

    Used to distinguish between production, staging, and development environments. Conforms to Codable for persistence and Sendable for concurrency safety.

    See more

    Declaration

    Swift

    public enum AppEnvironment : String, Codable, 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.

    See more

    Declaration

    Swift

    public enum PromptResult : Sendable
  • Defines the various log levels supported by the SDK, ordered by verbosity.

    Conforms to Comparable so levels can be compared to determine if a message should be logged given the current logging threshold.

    See more

    Declaration

    Swift

    public enum LogLevel : Int, Comparable