-
public final class ChannelInfoScreenModalParamsParameters for ChatComponentFactory.ChannelInfoScreenModal.
-
-
Field Summary
Fields Modifier and Type Field Description private final ChannelInfoViewEvent.Modalmodalprivate final BooleanisGroupChannelprivate final Function1<ChannelInfoViewAction, Unit>onViewActionprivate final Function1<ChannelInfoMemberViewEvent, Unit>onMemberViewEventprivate final Function0<Unit>onDismiss
-
Constructor Summary
Constructors Constructor Description ChannelInfoScreenModalParams(ChannelInfoViewEvent.Modal modal, Boolean isGroupChannel, Function1<ChannelInfoViewAction, Unit> onViewAction, Function1<ChannelInfoMemberViewEvent, Unit> onMemberViewEvent, Function0<Unit> onDismiss)
-
Method Summary
Modifier and Type Method Description final ChannelInfoViewEvent.ModalgetModal()final BooleangetIsGroupChannel()final Function1<ChannelInfoViewAction, Unit>getOnViewAction()final Function1<ChannelInfoMemberViewEvent, Unit>getOnMemberViewEvent()final Function0<Unit>getOnDismiss()-
-
Constructor Detail
-
ChannelInfoScreenModalParams
ChannelInfoScreenModalParams(ChannelInfoViewEvent.Modal modal, Boolean isGroupChannel, Function1<ChannelInfoViewAction, Unit> onViewAction, Function1<ChannelInfoMemberViewEvent, Unit> onMemberViewEvent, Function0<Unit> onDismiss)
- Parameters:
modal- Which modal to display.isGroupChannel- Whether the channel is a group channel.onViewAction- Action invoked when a view action is triggered.onMemberViewEvent- Action invoked when a member view event is triggered.onDismiss- Action invoked when the modal is dismissed.
-
-
Method Detail
-
getModal
final ChannelInfoViewEvent.Modal getModal()
-
getIsGroupChannel
final Boolean getIsGroupChannel()
-
getOnViewAction
final Function1<ChannelInfoViewAction, Unit> getOnViewAction()
-
getOnMemberViewEvent
final Function1<ChannelInfoMemberViewEvent, Unit> getOnMemberViewEvent()
-
getOnDismiss
final Function0<Unit> getOnDismiss()
-
-
-
-