Interface AIMessageList.AttachmentClickCallback

All Superinterfaces:
Serializable
Enclosing interface:
AIMessageList
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface AIMessageList.AttachmentClickCallback extends Serializable
Callback for attachment click events in the message list.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAttachmentClick(AIMessage message, int attachmentIndex)
    Called when an attachment in the message list is clicked.
  • Method Details

    • onAttachmentClick

      void onAttachmentClick(AIMessage message, int attachmentIndex)
      Called when an attachment in the message list is clicked.
      Parameters:
      message - the message containing the clicked attachment
      attachmentIndex - the 0-based index of the clicked attachment within the message