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

Function onPressFastFoward

example/SoundPlayer.tsx:84–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82 };
83
84 const onPressFastFoward = () => {
85 if (sound.current) {
86 sound.current.getCurrentTime(sec => {
87 sound.current?.setCurrentTime(sec + 10);
88 });
89 }
90 };
91
92 return (
93 <SafeAreaView style={styles.container}>

Callers

nothing calls this directly

Calls 2

getCurrentTimeMethod · 0.80
setCurrentTimeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…