Permissions.LocationWhenInUse.RequestAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Request a specific permission from the user.
public override System.Threading.Tasks.Task<Xamarin.Essentials.PermissionStatus> RequestAsync ();
Returns
System.Threading.Tasks.Task<PermissionStatus>
The status of the permission that was requested.
Remarks
The request will be prompted to the user if it hasn't been granted. iOS only allows the permission to be requested once, any additional requests will return immediatelly.