语言

Location.Set(Location) 方法

定义

将此位置转换为给定位置的副本。

[Android.Runtime.Register("set", "(Landroid/location/Location;)V", "GetSet_Landroid_location_Location_Handler")]
public virtual void Set(Android.Locations.Location location);
[<Android.Runtime.Register("set", "(Landroid/location/Location;)V", "GetSet_Landroid_location_Location_Handler")>]
abstract member Set : Android.Locations.Location -> unit
override this.Set : Android.Locations.Location -> unit

参数

location
Location

要复制的位置。

特性

注解

将此位置转换为给定位置的副本。

Java文档android.location.Location.set(android.location.Location)。

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

适用于