AdvertiseCallback.OnStartSuccess(AdvertiseSettings) Method

Definition

Callback triggered in response to BluetoothLeAdvertiser#startAdvertising indicating that the advertising has been started successfully.

[Android.Runtime.Register("onStartSuccess", "(Landroid/bluetooth/le/AdvertiseSettings;)V", "GetOnStartSuccess_Landroid_bluetooth_le_AdvertiseSettings_Handler")]
public virtual void OnStartSuccess (Android.Bluetooth.LE.AdvertiseSettings? settingsInEffect);
[<Android.Runtime.Register("onStartSuccess", "(Landroid/bluetooth/le/AdvertiseSettings;)V", "GetOnStartSuccess_Landroid_bluetooth_le_AdvertiseSettings_Handler")>]
abstract member OnStartSuccess : Android.Bluetooth.LE.AdvertiseSettings -> unit
override this.OnStartSuccess : Android.Bluetooth.LE.AdvertiseSettings -> unit

Parameters

settingsInEffect
AdvertiseSettings

The actual settings used for advertising, which may be different from what has been requested.

Attributes

Remarks

Java documentation for android.bluetooth.le.AdvertiseCallback.onStartSuccess(android.bluetooth.le.AdvertiseSettings).

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