Package io.rong.imkit.utils

## Class RongOperationPermissionUtils

- All Implemented Interfaces:

      public class RongOperationPermissionUtils

  判断融云SDK IPluginModule点击或者消息点击是否允许操作

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

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

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `static boolean` | `isMediaOperationPermit(Context context)` | 是否允许录制语音消息、播放语音消息等的操作。 如果正在VOIP通话过程返回false
    `static boolean` | `isOnRequestHardwareResource()` | 是否有模块在占用音视频资源

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

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

- - ### Constructor Detail

    - #### RongOperationPermissionUtils

          RongOperationPermissionUtils()

  - ### Method Detail

    - #### isMediaOperationPermit

           static boolean isMediaOperationPermit(Context context)

      是否允许录制语音消息、播放语音消息等的操作。 如果正在VOIP通话过程返回false

      Parameters:
        `context` - 上下文
      Returns:

        是否允许操作

    - #### isOnRequestHardwareResource

           static boolean isOnRequestHardwareResource()

      是否有模块在占用音视频资源

      Returns:

        是否占用