简体   繁体   中英

implementing surfaceview in xamarin forms

I have this app I'm building that requires my camera in a surface View on my app in xamarin forms could someone point me in the right direction or tell me if there's some strong tutorial that could give me a really good insight on it. This is the Camera UI I need to implement

implementing surfaceview in xamarin forms

SurfaceView is not a Android native view, so if you want use it in Xamarin.Forms , you must use CustomRenderers .

Here is an example: Custom Renderer about SurfaceView

This sample demonstrates a custom renderer for a Xamarin.Forms custom control that's used to display a preview video stream from the device's camera.

For more information about this sample see Implementing a View .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM