DiscoveryStrategy

This class should not be instanced manually, but created by calling ManagerDiscovery#getStrategy instead.

Methods

getDiscoveryResult

getDiscoveryResult(id): DiscoveryResultMDNSSD|DiscoveryResultSSDP|DiscoveryResultMAC

Get a specific discovery result.

Parameters

Name Type Description
id
string

Returns

getDiscoveryResults

getDiscoveryResults(): Object.<string, (DiscoveryResultMDNSSD|DiscoveryResultSSDP|DiscoveryResultMAC)>

Get all discovery results as an object.

Returns