Compartilhar via


BluetoothLeAdvertiser.StopAdvertising(AdvertiseCallback) Method

Definition

Stop Bluetooth LE advertising.

[Android.Runtime.Register("stopAdvertising", "(Landroid/bluetooth/le/AdvertiseCallback;)V", "")]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_ADVERTISE")]
public void StopAdvertising (Android.Bluetooth.LE.AdvertiseCallback? callback);
[<Android.Runtime.Register("stopAdvertising", "(Landroid/bluetooth/le/AdvertiseCallback;)V", "")>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_ADVERTISE")>]
member this.StopAdvertising : Android.Bluetooth.LE.AdvertiseCallback -> unit

Parameters

callback
AdvertiseCallback

AdvertiseCallback identifies the advertising instance to stop.

Attributes

Remarks

Java documentation for android.bluetooth.le.BluetoothLeAdvertiser.stopAdvertising(android.bluetooth.le.AdvertiseCallback).

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