We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 631fb3b commit 411eb32Copy full SHA for 411eb32
README.md
@@ -31,9 +31,9 @@ import RNRK from 'react-native-replaykit'
31
32
RNRK.initialize() // you need to call this before using RNRK and only once during app's life.
33
34
-RNRK.startRecording() // starts the recording
+RNRK.startRecording((recordings, error) => console.log(recordings)) // starts the recording
35
36
-RNRK.stopRecording() // stops the recording and saves it <- Same as pressing Stop in blue bar up top
+RNRK.stopRecording(recordings => console.log(recordings)) // stops the recording and saves it <- Same as pressing Stop in blue bar up top
37
38
RKRK.getRecordings(recordings => console.log(recordings)) get all recordings stored in the app's Documents/Replays folder.
39
0 commit comments