Skip to content

feat: Add Frame.hasPixelBuffer and Frame.hasNativeBuffer#3928

Merged
mrousavy merged 4 commits into
mainfrom
feat/frame-haspixelbuffer
May 27, 2026
Merged

feat: Add Frame.hasPixelBuffer and Frame.hasNativeBuffer#3928
mrousavy merged 4 commits into
mainfrom
feat/frame-haspixelbuffer

Conversation

@mrousavy
Copy link
Copy Markdown
Owner

Adds APIs to check if a Frame has an accessible pixel buffer (getPixelBuffer(): ArrayBuffer) or NativeBuffer (getNativeBuffer(): NativeBuffer).

Previously, those methods could've just thrown on Android. Now we can check the availability for those things. On iOS, those are always available/true.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-native-vision-camera-docs Ready Ready Preview, Comment May 27, 2026 3:20pm

Request Review

@mrousavy mrousavy merged commit efdc142 into main May 27, 2026
8 of 10 checks passed
@mrousavy mrousavy deleted the feat/frame-haspixelbuffer branch May 27, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant