Contains static methods and events for receiving iPod device connection/disconnection events. This is a static class (Module in Visual Basic)static classModule and so cannot be inherited or instantiated.


The following tables list the members exposed by Device.

Public Methods

  Name Description
Public method Static ListenForDeviceChanges Tell SharePodLib to listen for iPod devices being connected. The iPodConnected event will only fire once this is called.
Public method Static StopListeningForDeviceChanges Tell SharePodLib to stop listening for iPod devices being connected.
Top

Public Events

  Name Description
Public event Static IPodConnected Fires when an iPod is connected. See ListenForDeviceChanges()
Public event Static IPodDisconnected Fires when any removable drive is disconnected. You must check if the drive letter is the same as the drive letter of your IPod object.
Top

See Also