ViewInfo

class ViewInfo(val channel: Channel, val label: String, val onAction: () -> Unit) : ChannelAction

Show more info about the channel.

Constructors

Link copied to clipboard
constructor(channel: Channel, label: String, onAction: () -> Unit)

Properties

Link copied to clipboard
open override val channel: Channel

The channel this action targets.

Link copied to clipboard

Optional confirmation dialog to show before executing.

Link copied to clipboard
open override val icon: Int

Drawable resource for the action icon.

Link copied to clipboard

Whether this action is destructive (e.g. delete).

Link copied to clipboard
open override val label: String

Human-readable label for the action.

Link copied to clipboard
open override val onAction: () -> Unit

The handler to execute when the action is confirmed.