AdvertiseCallback.OnStartFailure(AdvertiseFailure) Method

Definition

Callback when advertising could not be started.

[Android.Runtime.Register("onStartFailure", "(I)V", "GetOnStartFailure_IHandler")]
public virtual void OnStartFailure (Android.Bluetooth.LE.AdvertiseFailure errorCode);
[<Android.Runtime.Register("onStartFailure", "(I)V", "GetOnStartFailure_IHandler")>]
abstract member OnStartFailure : Android.Bluetooth.LE.AdvertiseFailure -> unit
override this.OnStartFailure : Android.Bluetooth.LE.AdvertiseFailure -> unit

Parameters

errorCode
AdvertiseFailure

Error code (see ADVERTISE_FAILED_* constants) for advertising start failures.

Attributes

Remarks

Java documentation for android.bluetooth.le.AdvertiseCallback.onStartFailure(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