EasyARSettings.Permission Class

Description

AndroidManifest权限配置。


Fields

CameraDevice

C#

public bool CameraDevice

使用 CameraDevice 及其它需要使用相机设备的frame source需要的权限。

开启这个选项将会使用设备的相机权限。

VideoRecording

C#

public bool VideoRecording

使用 VideoRecorder 需要的权限。

开启这个选项将会使用设备的麦克风权限。

在iOS构建中,麦克风权限没有强制开启。需要注意在player设置中添加MicrophoneUsageDescription。

Mega

C#

public bool Mega

使用 MegaBlockTrackerFrameFilter 建议开启的权限。

开启这个选项将会使用设备的(fine)定位权限(只有当com.easyar.mega package存在时才起作用)。