Badminton-Scoreboard/Classes/Unity/AVCapture.h

17 lines
338 B
C
Raw Permalink Normal View History

2023-10-08 02:24:48 +00:00
#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);