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.

適用於