语言

LocationManager.KeyLocationChanged 字段

定义

当使用 PendingIntent 发送位置更改时,用于额外保存 Location 值的键。

[Android.Runtime.Register("KEY_LOCATION_CHANGED")]
public const string KeyLocationChanged;
[<Android.Runtime.Register("KEY_LOCATION_CHANGED")>]
val mutable KeyLocationChanged : string

字段值

特性

注解

当使用 PendingIntent 发送位置更改时,用于额外保存 Location 值的键。 如果位置更改包含批处理 #KEY_LOCATIONS 位置的列表,则此密钥仍将存在,并且将保留批处理中的最后一个位置。 用于 Intent#getParcelableExtra(String) 检索位置。

Java文档android.location.LocationManager.KEY_LOCATION_CHANGED。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于