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
See moreCodable
for JSON encoding/decoding.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
See moreCodable
for persistence andSendable
for concurrency safety.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
See moreSendable
for concurrency safety.Declaration
Swift
public enum PromptResult : Sendable
-
Defines the various log levels supported by the SDK, ordered by verbosity.
Conforms to
See moreComparable
so levels can be compared to determine if a message should be logged given the current logging threshold.Declaration
Swift
public enum LogLevel : Int, Comparable