Interface DeviceMonitorEventListener


  • public interface DeviceMonitorEventListener
    Interface for classes which will listen to device monitor events such as arrivals, departures, and network exceptions.
    • Method Detail

      • deviceArrival

        void deviceArrival​(DeviceMonitorEvent dme)
        Arrival event
        Parameters:
        dme - arrival event
      • deviceDeparture

        void deviceDeparture​(DeviceMonitorEvent dme)
        Depart event
        Parameters:
        dme - departure event
      • networkException

        void networkException​(DeviceMonitorException dme)
        Exception event
        Parameters:
        dme - an exception generated during search.