GeoPositionPermission 枚举

定义

指示调用应用程序是否拥有访问位置数据的权限。Indicates whether the calling application has permission to access location data.

public enum class GeoPositionPermission
public enum GeoPositionPermission
type GeoPositionPermission = 
Public Enum GeoPositionPermission
继承
GeoPositionPermission

字段

Denied 2

已拒绝位置权限。Location permissions are denied.

Granted 1

已授予位置权限。Location permissions are granted.

Unknown 0

位置权限未知。Location permissions are not known. 正在初始化提供程序时会出现此情况。This status can occur while the provider is being initialized.

适用于