GeoPositionPermission GeoPositionPermission GeoPositionPermission GeoPositionPermission Enum

定义

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

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

字段

Denied Denied Denied Denied 2

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

Granted Granted Granted Granted 1

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

Unknown Unknown Unknown Unknown 0

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

适用于