public class ServerConnectorView extends FrameLayout implements IBlaubotDebugView
Modifier and Type | Field and Description |
---|---|
static long |
UPDATE_INTERVAL
The interval to check the state of the ServerConnector and update the ui
|
Constructor and Description |
---|
ServerConnectorView(Context context,
AttributeSet attrs) |
ServerConnectorView(Context context,
AttributeSet attrs,
int defStyle) |
Modifier and Type | Method and Description |
---|---|
void |
registerBlaubotInstance(Blaubot blaubot)
Register this view with the given blaubot instance
|
void |
unregisterBlaubotInstance()
Unregisters the associated blaubot instance from a view (if any)
|
public static final long UPDATE_INTERVAL
public ServerConnectorView(Context context, AttributeSet attrs)
public ServerConnectorView(Context context, AttributeSet attrs, int defStyle)
public void registerBlaubotInstance(Blaubot blaubot)
registerBlaubotInstance
in interface IBlaubotDebugView
blaubot
- the blaubot instance to connect withpublic void unregisterBlaubotInstance()
IBlaubotDebugView
unregisterBlaubotInstance
in interface IBlaubotDebugView