Package org.deepsymmetry.beatlink.data
Interface MountListener
-
public interface MountListener
The listener interface for receiving updates when the set of mounted media slots on the network changes.
Classes that are interested having up-to-date information about which players have media loaded into their media slots can implement this interface, and then pass the implementing instance to
MetadataFinder.addMountListener(MountListener)
. Then, whenever a player mounts media in one of its slots,mediaMounted(SlotReference)
will be called, with the appropriate slot reference, and whenever a player unmounts media,mediaUnmounted(SlotReference)
will be called.- Author:
- James Elliott
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
mediaMounted(SlotReference slot)
Report that media is newly available in the specified player slot.void
mediaUnmounted(SlotReference slot)
Report that media is no longer available in the specified player slot.
-
-
-
Method Detail
-
mediaMounted
void mediaMounted(SlotReference slot)
Report that media is newly available in the specified player slot.- Parameters:
slot
- uniquely identifies a media slot on the network.
-
mediaUnmounted
void mediaUnmounted(SlotReference slot)
Report that media is no longer available in the specified player slot.- Parameters:
slot
- uniquely identifies a media slot on the network.
-
-