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.Event |
getNetworkConnectionStatus() |
Robot |
getRobot() |
RobotStatus |
getRobotStatus() |
IBinder |
onBind(Intent intent) |
void |
onCreate() |
void |
onDestroy() |
CallbackResult |
onNetworkConnectionEvent(NetworkConnection.Event event) |
int |
onStartCommand(Intent intent,
int flags,
int startId) |
boolean |
onUnbind(Intent intent) |
void |
setCallback(UpdateUI.Callback callback) |
void |
setupRobot(EventLoop eventLoop,
EventLoop idleEventLoop) |
void |
shutdownRobot() |
public static final java.lang.String TAG
public NetworkConnection getNetworkConnection()
public NetworkConnection.Event getNetworkConnectionStatus()
public RobotStatus getRobotStatus()
public Robot getRobot()
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()
public void setCallback(UpdateUI.Callback callback)
public void shutdownRobot()
public CallbackResult onNetworkConnectionEvent(NetworkConnection.Event event)