Lenguaje

BluetoothLeScanner.StopScan Método

Definición

Sobrecargas

Nombre Description
StopScan(PendingIntent)

Detiene un examen Bluetooth LE en curso que comenzó a usar PendingIntent.

StopScan(ScanCallback)

Detiene un examen bluetooth LE en curso.

StopScan(PendingIntent)

Detiene un examen Bluetooth LE en curso que comenzó a usar PendingIntent.

[Android.Runtime.Register("stopScan", "(Landroid/app/PendingIntent;)V", "", ApiSince=26)]
[Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")]
public void StopScan(Android.App.PendingIntent? callbackIntent);
[<Android.Runtime.Register("stopScan", "(Landroid/app/PendingIntent;)V", "", ApiSince=26)>]
[<Android.Runtime.RequiresPermission("android.permission.BLUETOOTH_SCAN")>]
member this.StopScan : Android.App.PendingIntent -> unit

Parámetros

callbackIntent
PendingIntent

PendingIntent que se usó para iniciar el examen.

Atributos

Comentarios

Detiene un examen Bluetooth LE en curso que comenzó a usar PendingIntent. Al crear el parámetro PendingIntent, no use la marca FLAG_CANCEL_CURRENT. De lo contrario, es posible que el examen de detención no tenga ningún efecto.

Java documentación para android.bluetooth.le.BluetoothLeScanner.stopScan(android.app.PendingIntent).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

StopScan(ScanCallback)

Detiene un examen bluetooth LE en curso.

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

Parámetros

callback
ScanCallback

callback

Atributos

Comentarios

Detiene un examen bluetooth LE en curso.

Java documentación para android.bluetooth.le.BluetoothLeScanner.stopScan(android.bluetooth.le.ScanCallback).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a