UNPKG

react-native-track-player

Version:
16 lines (15 loc) 449 B
export interface Progress { /** * The playback position of the current track in seconds. * See https://rntp.dev/docs/api/functions/player#getposition **/ position: number; /** The duration of the current track in seconds. * See https://rntp.dev/docs/api/functions/player#getduration **/ duration: number; /** * The buffered position of the current track in seconds. **/ buffered: number; }