reset


Description:

[ Version ( since = "0.1.0" ) ]
public bool reset () throws Error

Perform a USB port reset to reinitialize a device.

If the reset succeeds, the device will appear to disconnected and reconnected. This means the this will no longer be valid and should be closed and rediscovered.

This is a blocking function which usually incurs a noticeable delay.

Parameters:

this

a Device

Returns:

true on success




2022 vala-language.org