public class FtcRobotControllerService
extends Service
Modifier and Type | Class and Description |
---|---|
class |
FtcRobotControllerService.FtcRobotControllerBinder |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
FtcRobotControllerService() |
Modifier and Type | Method and Description |
---|---|
NetworkConnection |
getNetworkConnection() |
NetworkConnection.NetworkEvent |
getNetworkConnectionStatus() |
Robot |
getRobot() |
RobotStatus |
getRobotStatus() |
WebServer |
getWebServer() |
IBinder |
onBind(Intent intent) |
void |
onCreate() |
void |
onDestroy() |
CallbackResult |
onNetworkConnectionEvent(NetworkConnection.NetworkEvent event) |
void |
onReceive(Context context,
Intent intent) |
int |
onStartCommand(Intent intent,
int flags,
int startId) |
boolean |
onUnbind(Intent intent) |
void |
setCallback(UpdateUI.Callback callback) |
void |
setupRobot(EventLoop eventLoop,
EventLoop idleEventLoop,
java.lang.Runnable runOnComplete) |
void |
shutdownRobot() |
protected void |
startLEDS() |
protected void |
stopLEDS() |
public static final java.lang.String TAG
public void onReceive(Context context, Intent intent)
public NetworkConnection getNetworkConnection()
public NetworkConnection.NetworkEvent getNetworkConnectionStatus()
public RobotStatus getRobotStatus()
public Robot getRobot()
public WebServer getWebServer()
public void onCreate()
public int onStartCommand(Intent intent, int flags, int startId)
public IBinder onBind(Intent intent)
public boolean onUnbind(Intent intent)
public void onDestroy()
protected void startLEDS()
protected void stopLEDS()
public void setCallback(UpdateUI.Callback callback)
public void setupRobot(EventLoop eventLoop, EventLoop idleEventLoop, java.lang.Runnable runOnComplete)
public void shutdownRobot()
public CallbackResult onNetworkConnectionEvent(NetworkConnection.NetworkEvent event)