Aracılığıyla paylaş


AdvertisingSetCallback.OnAdvertisingSetStarted Method

Definition

Callback triggered in response to BluetoothLeAdvertiser#startAdvertisingSet indicating result of the operation.

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

Parameters

advertisingSet
AdvertisingSet

The advertising set that was started or null if error.

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.onAdvertisingSetStarted(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