共用方式為


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

傳回

屬性

適用於