17 lines
338 B
C
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);
|