mirror of
https://github.com/zoriya/react-native-omni.git
synced 2026-08-16 02:44:51 +00:00
Cleanup source handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user