Share via


AdvertisingSet.SetAdvertisingParameters(AdvertisingSetParameters) Method

Definition

Update advertising parameters associated with this AdvertisingSet.

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

Parameters

parameters
AdvertisingSetParameters

advertising set parameters.

Attributes

Remarks

Update advertising parameters associated with this AdvertisingSet. Must be called when advertising is not active. This method returns immediately, the operation status is delivered through callback.onAdvertisingParametersUpdated.

Java documentation for android.bluetooth.le.AdvertisingSet.setAdvertisingParameters(android.bluetooth.le.AdvertisingSetParameters).

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