Partager via


AdvertisingSetCallback.OnAdvertisingParametersUpdated Method

Definition

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

[Android.Runtime.Register("onAdvertisingParametersUpdated", "(Landroid/bluetooth/le/AdvertisingSet;II)V", "GetOnAdvertisingParametersUpdated_Landroid_bluetooth_le_AdvertisingSet_IIHandler", ApiSince=26)]
public virtual void OnAdvertisingParametersUpdated (Android.Bluetooth.LE.AdvertisingSet? advertisingSet, int txPower, Android.Bluetooth.LE.AdvertiseResult status);
[<Android.Runtime.Register("onAdvertisingParametersUpdated", "(Landroid/bluetooth/le/AdvertisingSet;II)V", "GetOnAdvertisingParametersUpdated_Landroid_bluetooth_le_AdvertisingSet_IIHandler", ApiSince=26)>]
abstract member OnAdvertisingParametersUpdated : Android.Bluetooth.LE.AdvertisingSet * int * Android.Bluetooth.LE.AdvertiseResult -> unit
override this.OnAdvertisingParametersUpdated : Android.Bluetooth.LE.AdvertisingSet * int * Android.Bluetooth.LE.AdvertiseResult -> unit

Parameters

advertisingSet
AdvertisingSet

The advertising set.

txPower
Int32

tx power that will be used for this set.

status
AdvertiseResult

Status of the operation.

Attributes

Remarks

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