Badminton-Scoreboard/Classes/Unity/AVCapture.h
2023-10-08 10:24:48 +08:00

17 lines
338 B
C

#pragma once
enum
{
avCapturePermissionUnknown = 0,
avCapturePermissionGranted = 1,
avCapturePermissionDenied = 2,
};
enum
{
avVideoCapture = 1,
avAudioCapture = 2,
};
extern "C" int UnityGetAVCapturePermission(int captureType);
extern "C" void UnityRequestAVCapturePermission(int captureType, void* userData);