예제 #1
0
        public async Task RequestPermissionsAsync(PermissionName permissionName)
        {
            var result = await currentPermissions.RequestPermissionsAsync(permissionName.ToPluginPermission());

            //TODO: I should return result, and check it
        }
예제 #2
0
        public async Task <PermissionStatus> CheckPermissionStatusAsync(PermissionName permissionName)
        {
            var pluginPermissionStauts = await currentPermissions.CheckPermissionStatusAsync(permissionName.ToPluginPermission());

            return(pluginPermissionStauts.ToMyPermissionStatus());
        }