How to display and record android camera?

hi! i need to do an app like the passthrough camera option in gearvr + some UI, and then record the camera video in a file. (in the worst case, some screenshots)

I tried to search about this, but its hard to find because of the “camera” term (they all send me to ue4 camera tuts).

THis is even possible?
with blueprints?
or some plugin?
what would be the correct term for search this?

thanks all!