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[]>
- 属性