Package io.rong.imkit

## Class MessageItemLongClickActionManager

- All Implemented Interfaces:

      public class MessageItemLongClickActionManager

  Created by jiangecho on 2017/3/17.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public List<MessageItemLongClickAction>` | `messageItemLongClickActions` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `List<MessageItemLongClickAction>` | `getMessageItemLongClickActions()` |
    `void` | `addMessageItemLongClickAction(MessageItemLongClickAction action)` |
    `void` | `addMessageItemLongClickAction(MessageItemLongClickAction action, int index)` |
    `static MessageItemLongClickActionManager` | `getInstance()` |
    `Message` | `getLongClickMessage()` |
    `void` | `setLongClickMessage(Message message)` |
    `OptionsPopupDialog` | `getLongClickDialog()` |
    `void` | `setLongClickDialog(OptionsPopupDialog dialog)` |
    `void` | `removeMessageItemLongClickAction(MessageItemLongClickAction action)` |
    `List<MessageItemLongClickAction>` | `getMessageItemLongClickActions(UiMessage uiMessage)` | 本方法应当只能被ItemProvider调用, 如果想修改默认的长按弹出菜单，请调用getMessageItemLongClickActions()

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### getMessageItemLongClickActions

           List<MessageItemLongClickAction> getMessageItemLongClickActions()

    - #### addMessageItemLongClickAction

           void addMessageItemLongClickAction(MessageItemLongClickAction action)

    - #### addMessageItemLongClickAction

           void addMessageItemLongClickAction(MessageItemLongClickAction action, int index)

    - #### getInstance

           static MessageItemLongClickActionManager getInstance()

    - #### getLongClickMessage

           Message getLongClickMessage()

    - #### setLongClickMessage

           void setLongClickMessage(Message message)

    - #### getLongClickDialog

           OptionsPopupDialog getLongClickDialog()

    - #### setLongClickDialog

           void setLongClickDialog(OptionsPopupDialog dialog)

    - #### removeMessageItemLongClickAction

           void removeMessageItemLongClickAction(MessageItemLongClickAction action)

    - #### getMessageItemLongClickActions

           List<MessageItemLongClickAction> getMessageItemLongClickActions(UiMessage uiMessage)

      本方法应当只能被ItemProvider调用, 如果想修改默认的长按弹出菜单，请调用getMessageItemLongClickActions()