CLGeocoder.ReverseGeocodeLocationAsync 方法

定义

重载

ReverseGeocodeLocationAsync(CLLocation)
ReverseGeocodeLocationAsync(CLLocation, NSLocale)

ReverseGeocodeLocationAsync(CLLocation)

public virtual System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]> ReverseGeocodeLocationAsync (CoreLocation.CLLocation location);
abstract member ReverseGeocodeLocationAsync : CoreLocation.CLLocation -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>
override this.ReverseGeocodeLocationAsync : CoreLocation.CLLocation -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>

参数

location
CLLocation

返回

表示异步 ReverseGeocodeLocation 操作的任务。 TResult 参数 CLGeocodeCompletionHandler的值为 。

适用于

ReverseGeocodeLocationAsync(CLLocation, NSLocale)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]> ReverseGeocodeLocationAsync (CoreLocation.CLLocation location, Foundation.NSLocale locale);
abstract member ReverseGeocodeLocationAsync : CoreLocation.CLLocation * Foundation.NSLocale -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>
override this.ReverseGeocodeLocationAsync : CoreLocation.CLLocation * Foundation.NSLocale -> System.Threading.Tasks.Task<CoreLocation.CLPlacemark[]>

参数

location
CLLocation
locale
NSLocale

返回

属性

适用于