BluetoothLeScanner.StopScan Metodo

Definizione

Overload

Nome Descrizione
StopScan(PendingIntent)

Arresta un'analisi Bluetooth LE in corso avviata usando un oggetto PendingIntent.

StopScan(ScanCallback)

Arresta un'analisi Bluetooth LE in corso.

StopScan(PendingIntent)

Arresta un'analisi Bluetooth LE in corso avviata usando un oggetto 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

Parametri

callbackIntent
PendingIntent

Oggetto PendingIntent utilizzato per avviare l'analisi.

Attributi

Commenti

Arresta un'analisi Bluetooth LE in corso avviata usando un oggetto PendingIntent. Quando si crea il parametro PendingIntent, non usare il flag FLAG_CANCEL_CURRENT. In caso contrario, l'analisi di arresto potrebbe non avere alcun effetto.

per android.bluetooth.le.BluetoothLeScanner.stopScan(android.app.PendingIntent).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

StopScan(ScanCallback)

Arresta un'analisi Bluetooth LE in corso.

[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

Parametri

callback
ScanCallback

callback

Attributi

Commenti

Arresta un'analisi Bluetooth LE in corso.

per android.bluetooth.le.BluetoothLeScanner.stopScan(android.bluetooth.le.ScanCallback).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a