Exemple #1
0
        public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
        {
            base.OnRequestPermissionsResult(requestCode, permissions, grantResults);

            var results = grantResults.Select(item => (int)item).ToArray();

            EasyPermissions.OnRequestPermissionsResult(requestCode, permissions, results, this);
        }
Exemple #2
0
 public void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
 {
     EasyPermissions.OnRequestPermissionsResult(requestCode, permissions, grantResults.Select(item => (int)item).ToArray());
 }