public class PingView extends FrameLayout implements IBlaubotDebugView
Modifier and Type | Field and Description |
---|---|
static int |
NUMBER_OF_PINGS_FOR_MEASURE
Number of Ping messages to be sent by the measurement when a long click on the ping button occurs
|
Constructor and Description |
---|
PingView(Context context,
AttributeSet attrs) |
PingView(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 int NUMBER_OF_PINGS_FOR_MEASURE
public PingView(Context context, AttributeSet attrs)
public PingView(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