Partager via


AdvertisingSet.SetPeriodicAdvertisingParameters Method

Definition

Update periodic advertising parameters associated with this set.

[Android.Runtime.Register("setPeriodicAdvertisingParameters", "(Landroid/bluetooth/le/PeriodicAdvertisingParameters;)V", "", ApiSince=26)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_ADVERTISE")]
public void SetPeriodicAdvertisingParameters (Android.Bluetooth.LE.PeriodicAdvertisingParameters? parameters);
[<Android.Runtime.Register("setPeriodicAdvertisingParameters", "(Landroid/bluetooth/le/PeriodicAdvertisingParameters;)V", "", ApiSince=26)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_ADVERTISE")>]
member this.SetPeriodicAdvertisingParameters : Android.Bluetooth.LE.PeriodicAdvertisingParameters -> unit

Parameters

Attributes

Remarks

Update periodic advertising parameters associated with this set. Must be called when periodic advertising is not enabled. This method returns immediately, the operation status is delivered through callback.onPeriodicAdvertisingParametersUpdated().

Java documentation for android.bluetooth.le.AdvertisingSet.setPeriodicAdvertisingParameters(android.bluetooth.le.PeriodicAdvertisingParameters).

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