Upravit

Sdílet prostřednictvím


CBPeripheralManagerAuthorizationStatus Enum

Definition

Enumerates the possible states of the CBPeripheralManager.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum CBPeripheralManagerAuthorizationStatus
type CBPeripheralManagerAuthorizationStatus = 
Inheritance
CBPeripheralManagerAuthorizationStatus
Attributes

Fields

Name Value Description
NotDetermined 0

The user has not interacted with the permissions dialog.

Restricted 1

The user is denied access and cannot change permission.

Denied 2

The user has denied access.

Authorized 3

The user has granted access.

Applies to