mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-22 02:58:04 +00:00
12 lines
388 B
TypeScript
12 lines
388 B
TypeScript
import { NativeModule, requireNativeModule } from "expo";
|
|
|
|
import { MpvPlayerModuleEvents } from "./MpvPlayer.types";
|
|
|
|
declare class MpvPlayerModule extends NativeModule<MpvPlayerModuleEvents> {
|
|
hello(): string;
|
|
setValueAsync(value: string): Promise<void>;
|
|
}
|
|
|
|
// This call loads the native module object from the JSI.
|
|
export default requireNativeModule<MpvPlayerModule>("MpvPlayer");
|