Udostępnij za pośrednictwem


Permissions.LocationWhenInUse Class

Definition

Permission for geolocation when the app is in use.

public class Permissions.LocationWhenInUse : Xamarin.Essentials.Permissions.BasePlatformPermission
Inheritance
System.Object
Permissions.LocationWhenInUse

Constructors

Permissions.LocationWhenInUse()

Public constructor for permission.

Properties

RecommendedInfoPlistKeys
RecommendedInfoPlistKeys (Inherited from Permissions.BasePlatformPermission)
RequiredDeclarations

Get a list of required declarations.

RequiredDeclarations

Get a list of required declarations.

(Inherited from Permissions.BasePlatformPermission)
RequiredInfoPlistKeys

Get a list of required keys in the info.plist.

RequiredInfoPlistKeys

Get a list of required keys in the info.plist.

(Inherited from Permissions.BasePlatformPermission)
RequiredPermissions

Get a list of required permissions.

RequiredPermissions

Get a list of required permissions.

(Inherited from Permissions.BasePlatformPermission)

Methods

CheckStatusAsync()

Checks the status of a specific permission.

CheckStatusAsync()

Checks the status of a specific permission.

(Inherited from Permissions.BasePlatformPermission)
EnsureDeclared()

Ensures that all permissions are declared.

(Inherited from Permissions.BasePlatformPermission)
RequestAsync()

Request a specific permission from the user.

RequestAsync()

Request a specific permission from the user.

(Inherited from Permissions.BasePlatformPermission)
ShouldShowRationale()

Gets whether you should show UI with rationale for requesting a permission.

(Inherited from Permissions.BasePlatformPermission)

Applies to