Cleanup source handling

This commit is contained in:
2026-04-10 19:20:45 +02:00
parent 7a5f495b39
commit fd40915bc9
26 changed files with 415 additions and 450 deletions
+2 -6
View File
@@ -1,15 +1,11 @@
import type { HybridObject } from "react-native-nitro-modules";
import type { OmniPlayer as OmniPlayerT } from "../types/player";
import type { OmniPlayerProps as OmniPlayerPropsT } from "../types/provider";
export interface OmniPlayerProps
extends HybridObject<{ android: "kotlin" }>,
OmniPlayerPropsT {}
import type { Source } from "../types/source";
export interface OmniPlayer
extends HybridObject<{ android: "kotlin" }>,
OmniPlayerT {}
export interface OmniPlayerFactory extends HybridObject<{ android: "kotlin" }> {
createPlayer(props: OmniPlayerProps): OmniPlayer;
createPlayer(props: Source): OmniPlayer;
}