getOriginalKotlinClass

Native
1.3
fun getOriginalKotlinClass(objCClass: ObjCClass): KClass<*>?
(source)

If objCClass is a class generated to Objective-C header for Kotlin class, returns KClass for that original Kotlin class.

Otherwise returns null.

Native
1.3
fun getOriginalKotlinClass(
    objCProtocol: ObjCProtocol
): KClass<*>?

(source)

If objCProtocol is a protocol generated to Objective-C header for Kotlin class, returns KClass for that original Kotlin class.

Otherwise returns null.