You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,7 +128,7 @@ if (permissionStatus === FrameCapture.PermissionStatus.GRANTED) {
128
128
129
129
### Permission Management
130
130
131
-
### `requestPermission()`
131
+
####`requestPermission()`
132
132
133
133
Requests **MediaProjection permission** (screen capture/screen sharing) from the user. This opens the Android system dialog asking the user to allow screen recording.
134
134
@@ -142,7 +142,7 @@ const status = await FrameCapture.requestPermission();
142
142
143
143
**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.
144
144
145
-
### `checkPermission()`
145
+
####`checkPermission()`
146
146
147
147
Checks if MediaProjection permission (screen capture) has been previously granted without showing the permission dialog.
148
148
@@ -154,7 +154,7 @@ const status = await FrameCapture.checkPermission();
154
154
155
155
**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.
156
156
157
-
### `checkNotificationPermission()`
157
+
####`checkNotificationPermission()`
158
158
159
159
Checks if notification permission is granted (Android 13+).
160
160
@@ -166,7 +166,7 @@ const status = await FrameCapture.checkNotificationPermission();
0 commit comments