Share via


Geocoder Constructors

Definition

Overloads

Geocoder(Context)

Constructs a Geocoder localized for the default locale.

Geocoder(Context, Locale)

Constructs a Geocoder localized for the given locale.

Geocoder(Context)

Constructs a Geocoder localized for the default locale.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public Geocoder (Android.Content.Context context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.Locations.Geocoder : Android.Content.Context -> Android.Locations.Geocoder

Parameters

context
Context

the Context of the calling Activity

Attributes

Remarks

Constructs a Geocoder localized for the default locale.

Java documentation for android.location.Geocoder.Geocoder(android.content.Context).

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

Geocoder(Context, Locale)

Constructs a Geocoder localized for the given locale.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/util/Locale;)V", "")]
public Geocoder (Android.Content.Context context, Java.Util.Locale locale);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Ljava/util/Locale;)V", "")>]
new Android.Locations.Geocoder : Android.Content.Context * Java.Util.Locale -> Android.Locations.Geocoder

Parameters

context
Context

the Context of the calling Activity

locale
Locale

the desired Locale for the query results

Attributes

Exceptions

if Locale is null

Remarks

Constructs a Geocoder localized for the given locale.

Java documentation for android.location.Geocoder.Geocoder(android.content.Context, java.util.Locale).

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