getOriginalKotlinClass

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

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<*>?

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

Otherwise returns null.