AdvertisingSet.SetPeriodicAdvertisingParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- parameters
- PeriodicAdvertisingParameters
- 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()
.
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.