Share via


CompanionDeviceManager.Callback.OnFailure Method

Definition

Overloads

OnFailure(ICharSequence)

Invoked if the association could not be created.

OnFailure(String)

Invoked if the association could not be created.

OnFailure(ICharSequence)

Invoked if the association could not be created.

[Android.Runtime.Register("onFailure", "(Ljava/lang/CharSequence;)V", "GetOnFailure_Ljava_lang_CharSequence_Handler", ApiSince=26)]
public abstract void OnFailure (Java.Lang.ICharSequence? error);
[<Android.Runtime.Register("onFailure", "(Ljava/lang/CharSequence;)V", "GetOnFailure_Ljava_lang_CharSequence_Handler", ApiSince=26)>]
abstract member OnFailure : Java.Lang.ICharSequence -> unit

Parameters

error
ICharSequence

error message.

Attributes

Remarks

Invoked if the association could not be created.

Java documentation for android.companion.CompanionDeviceManager.Callback.onFailure(java.lang.CharSequence).

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

OnFailure(String)

Invoked if the association could not be created.

public void OnFailure (string? error);
member this.OnFailure : string -> unit

Parameters

error
String

error message.

Remarks

Invoked if the association could not be created.

Java documentation for android.companion.CompanionDeviceManager.Callback.onFailure(java.lang.CharSequence).

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