語言

LocationManager.KeyLocationChanged 欄位

定義

用於額外金鑰,當位置變更時,透過 Location PendingIntent 傳送該值。

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

欄位值

屬性

備註

用於額外金鑰,當位置變更時,透過 Location PendingIntent 傳送該值。 如果位置變更包含批次位置清單, #KEY_LOCATIONS 則此鍵仍會存在,並持有批次中最後一個位置。 用 Intent#getParcelableExtra(String) 來取得該地點。

Java 文件 android.location.LocationManager.KEY_LOCATION_CHANGED。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於