共用方式為


Geocoder.GetFromLocationNameAsync Method

Definition

Overloads

GetFromLocationNameAsync(String, Int32)
GetFromLocationNameAsync(String, Int32, Geocoder+IGeocodeListener)
GetFromLocationNameAsync(String, Int32, Double, Double, Double, Double)
GetFromLocationNameAsync(String, Int32, Double, Double, Double, Double, Geocoder+IGeocodeListener)

GetFromLocationNameAsync(String, Int32)

public System.Threading.Tasks.Task<System.Collections.Generic.IList<Android.Locations.Address>?> GetFromLocationNameAsync (string locationName, int maxResults);
member this.GetFromLocationNameAsync : string * int -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Android.Locations.Address>>

Parameters

locationName
String
maxResults
Int32

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetFromLocationNameAsync(String, Int32, Geocoder+IGeocodeListener)

public System.Threading.Tasks.Task GetFromLocationNameAsync (string locationName, int maxResults, Android.Locations.Geocoder.IGeocodeListener listener);
member this.GetFromLocationNameAsync : string * int * Android.Locations.Geocoder.IGeocodeListener -> System.Threading.Tasks.Task

Parameters

locationName
String
maxResults
Int32

Returns

Applies to

GetFromLocationNameAsync(String, Int32, Double, Double, Double, Double)

public System.Threading.Tasks.Task<System.Collections.Generic.IList<Android.Locations.Address>?> GetFromLocationNameAsync (string locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude);
member this.GetFromLocationNameAsync : string * int * double * double * double * double -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Android.Locations.Address>>

Parameters

locationName
String
maxResults
Int32
lowerLeftLatitude
Double
lowerLeftLongitude
Double
upperRightLatitude
Double
upperRightLongitude
Double

Returns

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

GetFromLocationNameAsync(String, Int32, Double, Double, Double, Double, Geocoder+IGeocodeListener)

public System.Threading.Tasks.Task GetFromLocationNameAsync (string locationName, int maxResults, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude, Android.Locations.Geocoder.IGeocodeListener listener);
member this.GetFromLocationNameAsync : string * int * double * double * double * double * Android.Locations.Geocoder.IGeocodeListener -> System.Threading.Tasks.Task

Parameters

locationName
String
maxResults
Int32
lowerLeftLatitude
Double
lowerLeftLongitude
Double
upperRightLatitude
Double
upperRightLongitude
Double

Returns

Applies to