Enum of the platforms that can be associated with a SKU or entitlement.
Use other
when the platform that handled the transaction is not available in the enum.
public enum NamiPlatformType : Int, Codable {
case other = 0
case android
case apple
case roku
case web
}
typedef SWIFT_ENUM(NSInteger, NamiPlatformType, open) {
NamiPlatformTypeOther = 0,
NamiPlatformTypeAndroid = 1,
NamiPlatformTypeApple = 2,
NamiPlatformTypeRoku = 3,
NamiPlatformTypeWeb = 4,
};
enum class NamiPlatformType {
OTHER,
ANDROID,
APPLE,
ROKU,
WEB
}
const NamiPlatformType = {
"other": "other",
"android": "android",
"apple": "apple",
"roku": "roku",
"web": "web"
}
enum NamiPlatformType { other, android, apple, roku, web }
public enum NamiPlatformType : long {
Other = 0,
Android = 1,
Apple = 2,
Roku = 3,
Web = 4
}