Gets the UsbDeviceManager associated with the passed in Session.
A new UsbDeviceManager instance will be created the first time this function is called for a certain Session.
Note that this function returns a weak reference, which should not be used after the Session itself has been unref-ed by the caller.
session |
Session for which to get the UsbDeviceManager |
a weak reference to the UsbDeviceManager associated with the passed in Session |