ObjCEnum
Instructs the Kotlin compiler to generate a NS_ENUM typedef for the annotated enum class. The name of the generated type will be the name of the enum type with "NSEnum" appended. This name can be overridden with the "name" parameter, which is treated as an exact name. Additionally, a separate name for Swift can be specified using the swiftName parameter. For Objective-C, the enum literals will always be prefixed with the type name, always capitalizing the first character of the entry name, regardless whether they are implied or set explicitly via ObjCName or EntryName, as they live in a global namespace. For Swift, no such disambiguation prefixes will be added. The NSEnum values are accessible via the "nsEnum" property.
Since Kotlin
2.3Instructs the Kotlin compiler to generate a NS_ENUM typedef for the annotated enum class. The name of the generated type will be the name of the enum type with "NSEnum" appended. This name can be overridden with the "name" parameter, which is treated as an exact name. Additionally, a separate name for Swift can be specified using the swiftName parameter. For Objective-C, the enum literals will always be prefixed with the type name, always capitalizing the first character of the entry name, regardless whether they are implied or set explicitly via ObjCName or EntryName, as they live in a global namespace. For Swift, no such disambiguation prefixes will be added. The NSEnum values are accessible via the "nsEnum" property.
Since Kotlin
2.3Types
This annotation affects the names of the generated NS_ENUM enumerators. It overrides the implied enum entry name and an enum entry name set via @ObjCName. A separate name for Swift can be specified via the swiftName parameter. An EntryName annotation will always override the Swift name implied or set by other means, even if swiftName is not set explicitly. This annotation does not override the prefix implied or set by ObjCEnum.
This annotation affects the names of the generated NS_ENUM enumerators. It overrides the implied enum entry name and an enum entry name set via @ObjCName. A separate name for Swift can be specified via the swiftName parameter. An EntryName annotation will always override the Swift name implied or set by other means, even if swiftName is not set explicitly. This annotation does not override the prefix implied or set by ObjCEnum.