mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
12 lines
425 B
TypeScript
12 lines
425 B
TypeScript
/** Exported native API normalized across Java interfaces and Obj-C protocols. */
|
|
export interface KotlinBridge {
|
|
platform(): string;
|
|
threadName(): string;
|
|
isMainThread(): boolean;
|
|
greet(name: string): string;
|
|
/** Synchronous callback; must not throw across the native boundary. */
|
|
roundTrip(message: string, transform: (message: string) => string): string;
|
|
}
|
|
|
|
export function createKotlinBridge(): KotlinBridge;
|