@get


Description:

public static unowned UsbDeviceManager @get (Session session) throws Error

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.

Parameters:

session

Session for which to get the UsbDeviceManager

Returns:

a weak reference to the UsbDeviceManager associated with the passed in Session