1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-24 13:52:14 +01:00
Arduino/app/src/cc/arduino/packages/Discovery.java

36 lines
543 B
Java
Raw Normal View History

package cc.arduino.packages;
import java.util.List;
import processing.app.helpers.PreferencesMap;
public interface Discovery {
/**
* Set discovery preferences
*
* @param options
*/
public void setPreferences(PreferencesMap options);
/**
* Start discovery service
*
* @throws Exception
*/
public void start() throws Exception;
/**
* Stop discovery service
*/
public void stop();
/**
* Return the list of discovered ports.
*
* @return
*/
public List<BoardPort> discovery();
}