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

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