Udostępnij za pośrednictwem


AdvertisingSetCallback.OnAdvertisingDataSet Method

Definition

Callback triggered in response to AdvertisingSet#setAdvertisingData indicating result of the operation.

[Android.Runtime.Register("onAdvertisingDataSet", "(Landroid/bluetooth/le/AdvertisingSet;I)V", "GetOnAdvertisingDataSet_Landroid_bluetooth_le_AdvertisingSet_IHandler", ApiSince=26)]
public virtual void OnAdvertisingDataSet (Android.Bluetooth.LE.AdvertisingSet? advertisingSet, Android.Bluetooth.LE.AdvertiseResult status);
[<Android.Runtime.Register("onAdvertisingDataSet", "(Landroid/bluetooth/le/AdvertisingSet;I)V", "GetOnAdvertisingDataSet_Landroid_bluetooth_le_AdvertisingSet_IHandler", ApiSince=26)>]
abstract member OnAdvertisingDataSet : Android.Bluetooth.LE.AdvertisingSet * Android.Bluetooth.LE.AdvertiseResult -> unit
override this.OnAdvertisingDataSet : Android.Bluetooth.LE.AdvertisingSet * Android.Bluetooth.LE.AdvertiseResult -> unit

Parameters

advertisingSet
AdvertisingSet

The advertising set.

status
AdvertiseResult

Status of the operation.

Attributes

Remarks

Java documentation for android.bluetooth.le.AdvertisingSetCallback.onAdvertisingDataSet(android.bluetooth.le.AdvertisingSet, 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