AdvertisingSet.SetAdvertisingParameters(AdvertisingSetParameters) 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 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
.
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.