MCPcopy
hub / github.com/zmxv/react-native-sound / getCurrentTime

Method getCurrentTime

src/index.ts:315–319  ·  view source on GitHub ↗
(callback: (time: number) => void)

Source from the content-addressed store, hash-verified

313 }
314
315 public getCurrentTime(callback: (time: number) => void): void {
316 if (this._loaded) {
317 RNSound.getCurrentTime(this._key, callback);
318 }
319 }
320
321 public setCurrentTime(value: number): Sound {
322 if (this._loaded) {

Callers 3

startListeningFunction · 0.80
onPressBackwardFunction · 0.80
onPressFastFowardFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected