AVCapture.h 322 B

12345678910111213141516
  1. #pragma once
  2. enum
  3. {
  4. avCapturePermissionUnknown = 0,
  5. avCapturePermissionGranted = 1,
  6. avCapturePermissionDenied = 2,
  7. };
  8. enum
  9. {
  10. avVideoCapture = 1,
  11. avAudioCapture = 2,
  12. };
  13. extern "C" int UnityGetAVCapturePermission(int captureType);
  14. extern "C" void UnityRequestAVCapturePermission(int captureType);