Package io.rong.imkit.conversation.extension

## Class RongExtensionCacheHelper

- All Implemented Interfaces:

      public class RongExtensionCacheHelper

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `RongExtensionCacheHelper()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | `saveVoiceInputMode(Context context, ConversationType type, String targetId, boolean isVoiceMode)` |
    `static boolean` | `isVoiceInputMode(Context context, ConversationType type, String targetId)` |
    `static void` | `saveDestructInputMode(Context context, boolean isKeyMode)` |
    `static boolean` | `getCachedDestructInputMode(Context context)` |
    `static void` | `recordDestructClickEvent(Context context)` |
    `static boolean` | `isDestructFirstUsing(Context context)` |
    `static void` | `setDestructMode(Context context, ConversationType conversationType, String targetId, boolean value)` |
    `static boolean` | `isDestructMode(Context context, ConversationType conversationType, String targetId)` |

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

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

- - ### Constructor Detail

    - #### RongExtensionCacheHelper

          RongExtensionCacheHelper()

  - ### Method Detail

    - #### saveVoiceInputMode

           static void saveVoiceInputMode(Context context, ConversationType type, String targetId, boolean isVoiceMode)

    - #### isVoiceInputMode

           static boolean isVoiceInputMode(Context context, ConversationType type, String targetId)

    - #### saveDestructInputMode

           static void saveDestructInputMode(Context context, boolean isKeyMode)

    - #### getCachedDestructInputMode

           static boolean getCachedDestructInputMode(Context context)

    - #### recordDestructClickEvent

           static void recordDestructClickEvent(Context context)

    - #### isDestructFirstUsing

           static boolean isDestructFirstUsing(Context context)

    - #### setDestructMode

           static void setDestructMode(Context context, ConversationType conversationType, String targetId, boolean value)

    - #### isDestructMode

           static boolean isDestructMode(Context context, ConversationType conversationType, String targetId)