LowpanScanner.Callback

public static abstract class LowpanScanner.Callback
extends Object

java.lang.Object
   ↳ com.google.android.things.lowpan.LowpanScanner.Callback


Callback base class for LowpanScanner.

Summary

Public constructors

LowpanScanner.Callback()

Public methods

void onEnergyScanResult(LowpanEnergyScanResult result)

Indicates the energy scan result for a specific channel.

void onNetScanBeacon(LowpanBeaconInfo beacon)

Indicates the receipt of information identifying a nearby network has been received.

void onScanFinished()

Indicates the network scan or energy scan has finished.

Inherited methods

From class java.lang.Object

Public constructors

LowpanScanner.Callback

LowpanScanner.Callback ()

Public methods

onEnergyScanResult

void onEnergyScanResult (LowpanEnergyScanResult result)

Indicates the energy scan result for a specific channel.

Parameters
result LowpanEnergyScanResult

onNetScanBeacon

void onNetScanBeacon (LowpanBeaconInfo beacon)

Indicates the receipt of information identifying a nearby network has been received.

Parameters
beacon LowpanBeaconInfo

onScanFinished

void onScanFinished ()

Indicates the network scan or energy scan has finished.