SendbirdDialogDefaults

Functions

Link copied to clipboard
fun channelCoverEditCameraMenu(contract: ChannelCoverEditDialogContract?, onClick: () -> Unit = { contract?.onClickCamera() }): DialogMenuDetail

Returns the default "camera" menu for the channel cover edit dialog.

Link copied to clipboard
fun channelCoverEditGalleryMenu(contract: ChannelCoverEditDialogContract?, onClick: () -> Unit = { contract?.onClickGallery() }): DialogMenuDetail

Returns the default "gallery" menu for the channel cover edit dialog.

Link copied to clipboard

Returns the default menu items for the channel cover edit dialog.

Link copied to clipboard
fun channelEditCoverMenu(contract: ChannelEditBottomSheetContract?, onClick: () -> Unit = { contract?.onClickEditCover() }): DialogMenuDetail

Returns the default "channel cover" menu for the channel edit bottom sheet.

Link copied to clipboard

Returns the default menu items for the channel edit bottom sheet.

Link copied to clipboard
fun channelEditNameMenu(contract: ChannelEditBottomSheetContract?, onClick: () -> Unit = { contract?.onClickEditName() }): DialogMenuDetail

Returns the default "channel name" menu for the channel edit bottom sheet.

Link copied to clipboard

Returns the default menu items for the channels menu.

Link copied to clipboard
fun copyMenu(contract: MessageMenuDialogContract?, onClick: () -> Unit = { contract?.onClickCopyMenu() }): DialogMenuDetail

Returns the default "copy" menu for the message menu dialog.

Link copied to clipboard
fun deleteMenu(contract: MessageMenuDialogContract?, icon: Painter? = null, onClick: () -> Unit = { contract?.onClickDeleteMenu() }): DialogMenuDetail

Returns the default "delete" menu for the message menu dialog.

Link copied to clipboard
fun downloadMenu(contract: MessageMenuDialogContract?, onClick: () -> Unit = { contract?.onClickDownloadMenu() }): DialogMenuDetail

Returns the default "download" menu for the message menu dialog.

Link copied to clipboard
fun editMenu(contract: MessageMenuDialogContract?, onClick: () -> Unit = { contract?.onClickEditMenu() }): DialogMenuDetail

Returns the default "edit" menu for the message menu dialog.

Link copied to clipboard
fun leaveChannelMenu(contract: ChannelMenuDialogContract?, onClick: () -> Unit = { contract?.onClickLeaveChannel() }): DialogMenuDetail

Returns the default "leave channel" menu.

Link copied to clipboard
fun messageInputCaptureVideoMenu(contract: MessageInputBottomSheetContract?, onClick: () -> Unit = { contract?.onClickCaptureVideo() }): DialogMenuDetail

Returns the default "capture video" menu for the message input.

Link copied to clipboard
fun messageInputDocumentMenu(contract: MessageInputBottomSheetContract?, onClick: () -> Unit = { contract?.onClickDocument() }): DialogMenuDetail

Returns the default "document" menu for the message input.

Link copied to clipboard
fun messageInputGalleryMenu(contract: MessageInputBottomSheetContract?, onClick: () -> Unit = { contract?.onClickGallery() }): DialogMenuDetail

Returns the default "gallery" menu for the message input.

Link copied to clipboard

Returns the default menu items for the message input.

Link copied to clipboard
fun messageInputTakePhotoMenu(contract: MessageInputBottomSheetContract?, onClick: () -> Unit = { contract?.onClickTakePhoto() }): DialogMenuDetail

Returns the default "take photo" menu for the message input.

Link copied to clipboard

Returns the default menu items for the message menu dialog. The menu items will be different based on the message type and the sending status.

Link copied to clipboard
fun myPushTriggerOptionMenu(channel: UikitGroupChannel, contract: ChannelMenuDialogContract?, onClick: () -> Unit = { contract?.onClickMyPushTriggerOption() }): DialogMenuDetail

Returns the default "my push trigger option" menu.

Link copied to clipboard
fun retryMenu(contract: MessageMenuDialogContract?, onClick: () -> Unit = { contract?.onClickRetryMenu() }): DialogMenuDetail

Returns the default "retry" menu for the message menu dialog.