static void CameraPermissionRequestProvider(NativeApi.CameraPermissionsResultCallbackDelegate callback, IntPtr context)
 {
     ARCorePermissionManager.RequestPermission(k_CameraPermissionName, (permissinName, granted) =>
     {
         callback(granted, context);
     });
 }
Exemplo n.º 2
0
 static bool IsPermissionGranted(XRCameraSubsystem cameraSubsystem)
 {
     return(ARCorePermissionManager.IsPermissionGranted(k_CameraPermissionName));
 }