Kallisto Linux API
Library for interacting with Kallisto devices
BluetoothAdapter::ScanListener Class Referenceabstract

#include <bluetooth_adapter.hpp>

Inheritance diagram for BluetoothAdapter::ScanListener:

Data Structures

class  ScanRecord
 

Public Member Functions

virtual void onScanStart ()=0
 
virtual void onScanStartFailed ()=0
 
virtual void onScanStop (std::vector< BluetoothDevice *> devices_found)=0
 
virtual void onScan (BluetoothDevice &device, const ScanRecord record)=0
 

Detailed Description

Interface for Adapter events

Member Function Documentation

◆ onScan()

virtual void onScan ( BluetoothDevice device,
const ScanRecord  record 
)
pure virtual

Called when advertisement is received.

Parameters
deviceBluetooth device.
recordThe scan data record.

Implemented in KallistoCoreImpl.

◆ onScanStart()

virtual void onScanStart ( )
pure virtual

Called when a scan is started.

Implemented in KallistoCoreImpl.

◆ onScanStartFailed()

virtual void onScanStartFailed ( )
pure virtual

Called when a scan start fails.

Implemented in KallistoCoreImpl.

◆ onScanStop()

virtual void onScanStop ( std::vector< BluetoothDevice *>  devices_found)
pure virtual

Called when a scan is stopped.

Parameters
devices_foundAll devices found during the scan

Implemented in KallistoCoreImpl.


The documentation for this class was generated from the following file: