Udostępnij za pośrednictwem


Permissions.Flashlight Class

Definition

Permissiont to access the flashlight.

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

Constructors

Permissions.Flashlight()

Public constructor for permission.

Properties

RecommendedInfoPlistKeys (Inherited from Permissions.BasePlatformPermission)
RequiredDeclarations

Get a list of required declarations.

(Inherited from Permissions.BasePlatformPermission)
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.

(Inherited from Permissions.BasePlatformPermission)
EnsureDeclared()

Ensures that all permissions are declared.

(Inherited from Permissions.BasePlatformPermission)
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