Share via


Permissions.Sensors Class

Definition

Represents permission to access the device sensors.

public: ref class Permissions::Sensors : Microsoft::Maui::ApplicationModel::Permissions::BasePlatformPermission
public class Permissions.Sensors : Microsoft.Maui.ApplicationModel.Permissions.BasePlatformPermission
type Permissions.Sensors = class
    inherit Permissions.BasePlatformPermission
Public Class Permissions.Sensors
Inherits Permissions.BasePlatformPermission
Inheritance

Constructors

Permissions.Sensors()

Methods

CheckStatusAsync()

Retrieves the current status of this permission.

(Inherited from Permissions.BasePlatformPermission)
EnsureDeclared()

Ensures that a required entry matching this permission is found in the application manifest file.

(Inherited from Permissions.BasePlatformPermission)
RequestAsync()

Requests this permission from the user for this application.

(Inherited from Permissions.BasePlatformPermission)
ShouldShowRationale()

Determines if an educational UI should be displayed explaining to the user how this permission will be used in the application.

(Inherited from Permissions.BasePlatformPermission)

Applies to