public class ChannelView
extends FrameLayout
Constructor and Description |
---|
ChannelView(Context context,
AttributeSet attrs) |
ChannelView(Context context,
AttributeSet attrs,
int defStyle) |
Modifier and Type | Method and Description |
---|---|
static Dialog |
createChannelEditDialog(Context context,
IBlaubotChannel blaubotChannel)
Creates a dialog which lets a user change the properties of the channel's config.
|
static Spanned |
getDescriptionForPickerStrategy(BlaubotChannelConfig.MessagePickerStrategy strategy)
Returns a string describing the given strategy
|
void |
setChannelInfo(ChannelInfo channelInfo)
Sets the channel to be displayed
|
public ChannelView(Context context, AttributeSet attrs)
public ChannelView(Context context, AttributeSet attrs, int defStyle)
public void setChannelInfo(ChannelInfo channelInfo)
channelInfo
- the channel info model that is to be renderedpublic static Dialog createChannelEditDialog(Context context, IBlaubotChannel blaubotChannel)
context
- the current android contextblaubotChannel
- the blaubot channel to editpublic static Spanned getDescriptionForPickerStrategy(BlaubotChannelConfig.MessagePickerStrategy strategy)
strategy
- the strategy