FeedbackPlatform

Platform identifier recognized by the CupThread REST API.

The backend distinguishes between Apple platforms (ios, macos), Android (android), and cross-platform or web projects (universal).

Example usage:

val platform = FeedbackPlatform.fromWire("android") ?: FeedbackPlatform.current
println("Target platform: ${platform.wireValue}")

Entries

Link copied to clipboard

Apple iOS platform (ios).

Link copied to clipboard

Apple macOS desktop platform (macos).

Link copied to clipboard

Google Android platform (android).

Link copied to clipboard

Universal / cross-platform target (universal).

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The raw string token transmitted across the network in API requests and responses.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.