IDataShareWriteAdapter.OnError(Int32) Method

Definition

Method invoked when an error occurred, for example sessions has not been started or terminated unsuccessfully.

[Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler:Android.Views.ContentCaptures.IDataShareWriteAdapter, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)]
public virtual void OnError (int errorCode);
[<Android.Runtime.Register("onError", "(I)V", "GetOnError_IHandler:Android.Views.ContentCaptures.IDataShareWriteAdapter, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=30)>]
abstract member OnError : int -> unit
override this.OnError : int -> unit

Parameters

errorCode
Int32

the error code corresponding to an ERROR_* value.

Attributes

Remarks

Method invoked when an error occurred, for example sessions has not been started or terminated unsuccessfully.

Java documentation for android.view.contentcapture.DataShareWriteAdapter.onError(int).

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