Feedback Platform
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}")Content copied to clipboard
Entries
Properties
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.