public class AdminMessageView extends LinearLayout implements IBlaubotDebugView
Constructor and Description |
---|
AdminMessageView(Context context) |
AdminMessageView(Context context,
AttributeSet attrs) |
Modifier and Type | Method and Description |
---|---|
void |
registerBlaubotInstance(Blaubot blaubot)
Register this view with the given blaubot instance
|
void |
setShowRelayMessages(boolean mShowRelayMessages)
Set if RelayAdminMessages should be rendered.
|
void |
unregisterBlaubotInstance()
Unregisters the associated blaubot instance from a view (if any)
|
public AdminMessageView(Context context)
public AdminMessageView(Context context, AttributeSet attrs)
public void setShowRelayMessages(boolean mShowRelayMessages)
mShowRelayMessages
- if true, relay admin messages are renderedpublic void registerBlaubotInstance(Blaubot blaubot)
registerBlaubotInstance
in interface IBlaubotDebugView
blaubot
- the blaubot instance to connect withpublic void unregisterBlaubotInstance()
IBlaubotDebugView
unregisterBlaubotInstance
in interface IBlaubotDebugView