mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
committed by
Sheetal Nandi
parent
9e26db59d7
commit
fcc4f70ab2
8
types/react-native-video/index.d.ts
vendored
8
types/react-native-video/index.d.ts
vendored
@@ -36,6 +36,12 @@ export interface LoadError {
|
||||
};
|
||||
}
|
||||
|
||||
export interface OnSeekData {
|
||||
currentTime: number;
|
||||
seekTime: number;
|
||||
target?: number;
|
||||
}
|
||||
|
||||
export const TextTrackType: {
|
||||
SRT: 'application/x-subrip';
|
||||
TTML: 'application/ttml+xml';
|
||||
@@ -87,7 +93,7 @@ export interface VideoProperties extends ViewProps {
|
||||
onBuffer?(): void;
|
||||
onError?(error: LoadError): void;
|
||||
onProgress?(data: OnProgressData): void;
|
||||
onSeek?(): void;
|
||||
onSeek?(data: OnSeekData): void;
|
||||
onEnd?(): void;
|
||||
onFullscreenPlayerWillPresent?(): void;
|
||||
onFullscreenPlayerDidPresent?(): void;
|
||||
|
||||
Reference in New Issue
Block a user