Code example for UsbDeviceConnection

Methods: close, releaseInterface

0
	 */ 
	private void destroy(){ 
		/* Release the interface that was previously claimed and close 
		 * the connection. 
		 */ 
		connection.releaseInterface(intf);
		connection.close();
		 
		/* Clear up all of the locals */ 
		device = null;
		manager = null;
		handler = null;
		toggleLEDCount = 0;
		closeRequested = false;
		connection = null;
		intf = null;
	} 
}