Jni

interface Jni

The main interface for interacting with the native code. It provides methods for creating channels for sending and receiving events.

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Creates a channel for receiving events from the native code and sending responses back.

Link copied to clipboard

Creates a channel for sending events to the native code and receiving responses.

Link copied to clipboard
open suspend fun <T> runOnNativeThread(block: suspend () -> T): T