-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.common.state.channels.actions.ChannelAction
public final class LeaveGroup implements ChannelAction
Leave the group channel.
-
-
Field Summary
Fields Modifier and Type Field Description private final Integericonprivate final BooleanisDestructiveprivate final Channelchannelprivate final Stringlabelprivate final Function0<Unit>onActionprivate final ConfirmationPopupconfirmationPopup
-
Constructor Summary
Constructors Constructor Description LeaveGroup(Channel channel, String label, Function0<Unit> onAction, ConfirmationPopup confirmationPopup)
-
Method Summary
Modifier and Type Method Description IntegergetIcon()BooleangetIsDestructive()ChannelgetChannel()StringgetLabel()Function0<Unit>getOnAction()ConfirmationPopupgetConfirmationPopup()-
-
Constructor Detail
-
LeaveGroup
LeaveGroup(Channel channel, String label, Function0<Unit> onAction, ConfirmationPopup confirmationPopup)
-
-
Method Detail
-
getIsDestructive
Boolean getIsDestructive()
-
getChannel
Channel getChannel()
-
getOnAction
Function0<Unit> getOnAction()
-
getConfirmationPopup
ConfirmationPopup getConfirmationPopup()
-
-
-
-