stop bluetooth Scanning - Android Phone

Android examples for Phone:Bluetooth

Description

stop bluetooth Scanning

Demo Code


//package com.java2s;

import android.bluetooth.le.BluetoothLeScanner;
import android.bluetooth.le.ScanCallback;

public class Main {
    public static void stopScanning(BluetoothLeScanner scanner,
            ScanCallback callback) {/*from  w  w  w  . jav a  2 s  .com*/
        scanner.stopScan(callback);
    }
}

Related Tutorials