Skip to content

Commit 07197db

Browse files
committed
docs: fix README table of contents
1 parent 71eb62e commit 07197db

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,6 @@ const status = await FrameCapture.requestPermission();
142142

143143
**Note:** This is a runtime permission that must be granted before starting capture. The permission dialog is shown by the Android system, not your app.
144144

145-
---
146-
147145
#### `checkPermission()`
148146

149147
Checks if MediaProjection permission (screen capture) has been previously granted without showing the permission dialog.
@@ -156,8 +154,6 @@ const status = await FrameCapture.checkPermission();
156154

157155
**Note:** Returns `NOT_DETERMINED` if permission was never requested, `GRANTED` if previously granted. MediaProjection permission cannot be checked programmatically on Android, so this only verifies if permission data exists from a previous grant.
158156

159-
---
160-
161157
#### `startCapture(options)`
162158

163159
Starts screen capture with the specified options.
@@ -182,8 +178,6 @@ const session = await FrameCapture.startCapture({
182178

183179
**Throws:** `CaptureError` if capture cannot be started
184180

185-
---
186-
187181
#### `stopCapture()`
188182

189183
Stops the active capture session.
@@ -194,8 +188,6 @@ await FrameCapture.stopCapture();
194188

195189
**Returns:** `Promise<void>`
196190

197-
---
198-
199191
#### `pauseCapture()`
200192

201193
Pauses the active capture session.
@@ -206,8 +198,6 @@ await FrameCapture.pauseCapture();
206198

207199
**Returns:** `Promise<void>`
208200

209-
---
210-
211201
#### `resumeCapture()`
212202

213203
Resumes a paused capture session.
@@ -218,8 +208,6 @@ await FrameCapture.resumeCapture();
218208

219209
**Returns:** `Promise<void>`
220210

221-
---
222-
223211
#### `getCaptureStatus()`
224212

225213
Gets the current capture status.
@@ -231,8 +219,6 @@ console.log(status.state); // 'idle' | 'capturing' | 'paused'
231219

232220
**Returns:** `Promise<CaptureStatus>`
233221

234-
---
235-
236222
#### `checkNotificationPermission()`
237223

238224
Checks if notification permission is granted (Android 13+).
@@ -243,8 +229,6 @@ const status = await FrameCapture.checkNotificationPermission();
243229

244230
**Returns:** `Promise<PermissionStatus>`
245231

246-
---
247-
248232
#### `cleanupTempFrames()`
249233

250234
Manually cleans up all temporary frame files stored in the app's cache directory.
@@ -268,8 +252,6 @@ await FrameCapture.cleanupTempFrames();
268252
- After processing frames in your app
269253
- When you want to free up cache storage manually
270254

271-
---
272-
273255
#### `addListener(eventType, callback)`
274256

275257
Adds an event listener for capture events.
@@ -928,6 +910,4 @@ See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the
928910

929911
MIT © [Nasyx Rakeeb](https://github.com/nasyx-rakeeb)
930912

931-
---
932-
933913
Made with ❤️ using [create-react-native-library](https://github.com/callstack/react-native-builder-bob)

0 commit comments

Comments
 (0)