Partager via


AdvertisingSetCallback.OnPeriodicAdvertisingEnabled Method

Definition

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

[Android.Runtime.Register("onPeriodicAdvertisingEnabled", "(Landroid/bluetooth/le/AdvertisingSet;ZI)V", "GetOnPeriodicAdvertisingEnabled_Landroid_bluetooth_le_AdvertisingSet_ZIHandler", ApiSince=26)]
public virtual void OnPeriodicAdvertisingEnabled (Android.Bluetooth.LE.AdvertisingSet? advertisingSet, bool enable, Android.Bluetooth.LE.AdvertiseResult status);
[<Android.Runtime.Register("onPeriodicAdvertisingEnabled", "(Landroid/bluetooth/le/AdvertisingSet;ZI)V", "GetOnPeriodicAdvertisingEnabled_Landroid_bluetooth_le_AdvertisingSet_ZIHandler", ApiSince=26)>]
abstract member OnPeriodicAdvertisingEnabled : Android.Bluetooth.LE.AdvertisingSet * bool * Android.Bluetooth.LE.AdvertiseResult -> unit
override this.OnPeriodicAdvertisingEnabled : Android.Bluetooth.LE.AdvertisingSet * bool * Android.Bluetooth.LE.AdvertiseResult -> unit

Parameters

advertisingSet
AdvertisingSet

The advertising set.

enable
Boolean
status
AdvertiseResult

Status of the operation.

Attributes

Remarks

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