setListener

Sets the listener for discovery events.

Parameters

listener

The TMDiscoveryListener to receive events, or null to clear.