Tuya.Net
Public Member Functions | Events
com.clusterrr.TuyaNet.TuyaScanner Class Reference

Scanner to discover devices over local network. More...

Public Member Functions

 TuyaScanner ()
 Creates a new instance of the TuyaScanner class. More...
 
void Start ()
 Starts scanner. More...
 
void Stop ()
 Stops scanner. More...
 

Events

EventHandler< TuyaDeviceScanInfoOnDeviceInfoReceived
 Even that will be called on every broadcast message from devices. More...
 
EventHandler< TuyaDeviceScanInfoOnNewDeviceInfoReceived
 Even that will be called only once for every device. More...
 

Detailed Description

Scanner to discover devices over local network.

Constructor & Destructor Documentation

◆ TuyaScanner()

com.clusterrr.TuyaNet.TuyaScanner.TuyaScanner ( )
inline

Creates a new instance of the TuyaScanner class.

Member Function Documentation

◆ Start()

void com.clusterrr.TuyaNet.TuyaScanner.Start ( )
inline

Starts scanner.

Here is the call graph for this function:

◆ Stop()

void com.clusterrr.TuyaNet.TuyaScanner.Stop ( )
inline

Stops scanner.

Here is the caller graph for this function:

Event Documentation

◆ OnDeviceInfoReceived

EventHandler<TuyaDeviceScanInfo> com.clusterrr.TuyaNet.TuyaScanner.OnDeviceInfoReceived

Even that will be called on every broadcast message from devices.

◆ OnNewDeviceInfoReceived

EventHandler<TuyaDeviceScanInfo> com.clusterrr.TuyaNet.TuyaScanner.OnNewDeviceInfoReceived

Even that will be called only once for every device.