- Since:
- 2.5.0
Methods
getDiscoveryResult(id) → {DiscoveryResult}
Parameters:
Name | Type | Description |
---|---|---|
id |
string
|
Returns:
- Type:
-
DiscoveryResult
Returns a DiscoveryResultMDNSSD, DiscoveryResultSSDP or DiscoveryResultMAC instance.
getDiscoveryResults() → {Object}
Returns:
- Type:
-
Object
Returns an object of DiscoveryResultMDNSSD, DiscoveryResultSSDP or DiscoveryResultMAC instances.
Events
.on('result')
Fires when a new result has been found.
Parameters:
Name | Type | Description |
---|---|---|
discoveryResult |
DiscoveryResultMDNSSD
|
DiscoveryResultSSDP
|
DiscoveryResultMAC
|