/**************************************************************************** * Copyright 2019 Nreal Techonology Limited. All rights reserved. * * This file is part of NRSDK. * * https://www.nreal.ai/ * *****************************************************************************/ namespace NRKernal { /// /// Interface for checking Android permission. The interface is used for MOCK unity test. public interface IAndroidPermissionsCheck { /// Requests an Android permission from the user. /// The permission to be requested (e.g. android.permission.CAMERA). /// /// An asynchronous task that completes when the user has accepted or rejected the requested /// permission and yields a that summarizes the /// result. If this method is called when another permissions request is pending, null /// will be returned instead. AsyncTask RequestAndroidPermission( string permissionName); } }