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

Function onPressBackward

example/SoundPlayer.tsx:76–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

74 };
75
76 const onPressBackward = () => {
77 if (sound.current) {
78 sound.current.getCurrentTime(sec => {
79 sound.current?.setCurrentTime(sec - 10);
80 });
81 }
82 };
83
84 const onPressFastFoward = () => {
85 if (sound.current) {

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…