public class ServiceScanner
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceScanner.ScanResult |
Constructor and Description |
---|
ServiceScanner() |
Modifier and Type | Method and Description |
---|---|
void |
notifyResult(ServiceScanner.ScanResult result)
Add a new scan result
|
void |
setOnDeviceDiscoveredCallback(<any> onDeviceDiscovered) |
void |
start() |
void |
stop() |
public void setOnDeviceDiscoveredCallback(@Nullable <any> onDeviceDiscovered)
public void start()
public void stop()
@UiThread public void notifyResult(ServiceScanner.ScanResult result)
result
-