Share via


Geocoder.IGeocodeListener.OnError(String) Method

Definition

Invoked when geocoding fails, with a brief error message.

[Android.Runtime.Register("onError", "(Ljava/lang/String;)V", "GetOnError_Ljava_lang_String_Handler:Android.Locations.Geocoder/IGeocodeListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public virtual void OnError (string? errorMessage);
[<Android.Runtime.Register("onError", "(Ljava/lang/String;)V", "GetOnError_Ljava_lang_String_Handler:Android.Locations.Geocoder/IGeocodeListener, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnError : string -> unit
override this.OnError : string -> unit

Parameters

errorMessage
String
Attributes

Remarks

Invoked when geocoding fails, with a brief error message.

Java documentation for android.location.Geocoder.GeocodeListener.onError(java.lang.String).

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