NabtoClient.addMdnsResultListener() Overload 1

DESCRIPTION

Add a listener for mdns results. @deprecated This method is deprecated in favor of using createMdnsScanner()

Listen for mdns results.

DECLARATION

    @Deprecated
    public abstract void addMdnsResultListener(MdnsResultListener listener)

PARAMETERS

listener:
The mdns result listener to add.

Overload 2

DESCRIPTION

DEPRECATED: Add a mdns result listener which only returns results for the given subtype. @deprecated This method is deprecated in favor of using createMdnsScanner()

DECLARATION

    @Deprecated
    public abstract void addMdnsResultListener(MdnsResultListener listener, String subtype)

PARAMETERS

listener:
The mdns result listener to add.
subtype:
The subtype to listen for.