CLGeocoder.ReverseGeocodeLocationAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
傳回
Task<CLPlacemark[]>
表示非同步 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
傳回
Task<CLPlacemark[]>
- 屬性