Where can I find media type constants

Hi,
I’m trying to get a permission to the device camera using the function AVCaptureDevice.requestAccessForMediaTypeCompletionHandler but I couldn’t find the constant “AVMediaTypeVideo” nor any constant listed here

thanks

Hi!

Are you need AVFoundation java class.

String mediaTypeVideo = AVFoundation.AVMediaTypeVideo();

Best Regards,
Roland

1 Like

thanks bro, this is what i need