public interface DeviceAnnouncementListener
DeviceAnnouncementAdapter class (overriding only the methods of interest). The
listener object created from that class is then registered using
DeviceFinder.addDeviceAnnouncementListener(DeviceAnnouncementListener). Whenever a new device is found,
or a device disappears from the network, the relevant method in the listener object is invoked, and the
DeviceAnnouncement is passed to it.| Modifier and Type | Method and Description |
|---|---|
void |
deviceFound(DeviceAnnouncement announcement)
Invoked when a new DJ Link device is heard from on the network.
|
void |
deviceLost(DeviceAnnouncement announcement)
Invoked when a DJ Link device is no longer seen on the network.
|
void deviceFound(DeviceAnnouncement announcement)
Device announcements are delivered to listeners on the Event Dispatch thread, so it is fine to interact with user interface objects in this method. Any code in this method must finish quickly, or unhandled events will back up and the user interface will be come unresponsive.
announcement - the message which announced the device's presencevoid deviceLost(DeviceAnnouncement announcement)
Device announcements are delivered to listeners on the Event Dispatch thread, so it is fine to interact with user interface objects in this method. Any code in this method must finish quickly, or unhandled events will back up and the user interface will be come unresponsive.
announcement - the last message which was sent by the device before it disappearedCopyright © 2016 Deep Symmetry, LLC. All rights reserved.