Package io.rong.calllib.message

## Class CallHangupMessage

- All Implemented Interfaces:

      public class CallHangupMessage

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `callId` |
    `public RongCallCommon.CallDisconnectedReason` | `hangupReason` |
    `public String` | `deviceId` |
    `public final static Creator<CallHangupMessage>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `CallHangupMessage(Parcel in)` |
    `CallHangupMessage()` |
    `CallHangupMessage(Array<byte> data)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getCallId()` |
    `void` | `setCallId(String callId)` |
    `RongCallCommon.CallDisconnectedReason` | `getHangupReason()` |
    `void` | `setHangupReason(RongCallCommon.CallDisconnectedReason hangupReason)` |
    `String` | `getDeviceId()` |
    `Array<byte>` | `encode()` |
    `void` | `writeToParcel(Parcel dest, int flags)` | 将类的数据写入外部提供的 Parcel 中。
    `int` | `describeContents()` | 描述了包含在 Parcelable 对象排列信息中的特殊对象的类型。
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### CallHangupMessage

          CallHangupMessage(Parcel in)

    - #### CallHangupMessage

          CallHangupMessage()

    - #### CallHangupMessage

          CallHangupMessage(Array<byte> data)

  - ### Method Detail

    - #### getCallId

           String getCallId()

    - #### setCallId

           void setCallId(String callId)

    - #### getHangupReason

           RongCallCommon.CallDisconnectedReason getHangupReason()

    - #### setHangupReason

           void setHangupReason(RongCallCommon.CallDisconnectedReason hangupReason)

    - #### getDeviceId

           String getDeviceId()

    - #### encode

           Array<byte> encode()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

      将类的数据写入外部提供的 Parcel 中。

      Parameters:
        `dest` - 对象被写入的 Parcel。
        `flags` - 对象如何被写入的附加标志，可能是 0 或 PARCELABLE_WRITE_RETURN_VALUE。

    - #### describeContents

           int describeContents()

      描述了包含在 Parcelable 对象排列信息中的特殊对象的类型。

      Returns:

        一个标志位，表明Parcelable对象特殊对象类型集合的排列。

    - #### toString

           String toString()