Package 

Class ModeratedMessageDialogKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit ModeratedMessageDialog(Message message, Function0<Unit> onDismissRequest, Function2<Message, ModeratedMessageOption, Unit> onDialogOptionInteraction, Modifier modifier, List<ModeratedMessageOption> moderatedMessageOptions, Function0<Unit> dialogTitle, Function0<Unit> dialogDescription, Function0<Unit> dialogOptions) Dialog that is shown when user clicks or long taps on a moderated message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • ModeratedMessageDialog

        @Composable() final static Unit ModeratedMessageDialog(Message message, Function0<Unit> onDismissRequest, Function2<Message, ModeratedMessageOption, Unit> onDialogOptionInteraction, Modifier modifier, List<ModeratedMessageOption> moderatedMessageOptions, Function0<Unit> dialogTitle, Function0<Unit> dialogDescription, Function0<Unit> dialogOptions)

        Dialog that is shown when user clicks or long taps on a moderated message. Gives the user the ability to either send the message again, edit it and then send it or to delete it.

        Parameters:
        message - The moderated Message upon which the user can take action.
        onDismissRequest - Handler for dialog dismissal.
        onDialogOptionInteraction - Handler for detecting the action taken upon the dialog.
        modifier - Modifier for styling.
        moderatedMessageOptions - List of options that the user can choose from for the moderated message.
        dialogTitle - Composable that represents the dialog title.
        dialogDescription - Composable that represents the dialog description.
        dialogOptions - Composable that represents the ModeratedMessageOptions the user can choose for the moderated message.