Context.LocationService 字段

定义

使用 和 #getSystemService(String) 检索 , android.location.LocationManager 以控制位置更新。

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

字段值

属性

注解

使用 和 #getSystemService(String) 检索 , android.location.LocationManager 以控制位置更新。

android.content.Context.LOCATION_SERVICEJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

适用于

另请参阅