예제 #1
0
 public override void OnRequestPermissionsResult(
     int requestCode,
     string[] permissions,
     [GeneratedEnum] Permission[] grantResults)
 {
     PermissionsHandler.OnRequestPermissionsResult(requestCode, permissions, grantResults);
 }
예제 #2
0
        protected async override void OnResume()
        {
            base.OnResume();

            if (PermissionsHandler.NeedsPermissionRequest(this))
            {
                await PermissionsHandler.RequestPermissionsAsync(this);
            }
        }