Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Permissions.Bluetooth Class

Definition

Namespace:
Microsoft.Maui.ApplicationModel
Assembly:
Microsoft.Maui.Essentials.dll
Source:
Permissions.shared.cs
Source:
Permissions.shared.cs
Source:
Permissions.shared.cs
Source:
Permissions.shared.cs

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.

Represents permission to communicate via Bluetooth (scanning, connecting and/or advertising).

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

Constructors

Name Description
Permissions.Bluetooth()

Methods

Name Description
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


Feedback

Was this page helpful?