Create a new volume event watcher. Call setCallback() and start() on the returned object to begin receiving volume mount/unmount/rename events.
setCallback()
start()
An HSVolumeWatcher object.
HSVolumeWatcher
Create a new volume event watcher. Call
setCallback()andstart()on the returned object to begin receiving volume mount/unmount/rename events.