Package io.rong.imlib.model

## Class ConnectOption

- All Implemented Interfaces:

      public class ConnectOption

  Created by yanke on 2021/7/15

  Author:

    yanke

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public final String` | `token` |
    `public final int` | `timeLimit` |
    `public final Map<String, String>` | `connectExt` |
    `public final static Creator<ConnectOption>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ConnectOption(Parcel in)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getToken()` |
    `int` | `getTimeLimit()` |
    `Map<String, String>` | `getConnectExt()` |
    `static ConnectOption` | `obtain(String token, int timeLimit)` |
    `static ConnectOption` | `obtain(String token, int timeLimit, HashMap<String, String> connectExt)` |
    `int` | `describeContents()` |
    `void` | `writeToParcel(Parcel dest, int flags)` |

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

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

- - ### Constructor Detail

    - #### ConnectOption

          ConnectOption(Parcel in)

  - ### Method Detail

    - #### getToken

           String getToken()

    - #### getTimeLimit

           int getTimeLimit()

    - #### getConnectExt

           Map<String, String> getConnectExt()

    - #### obtain

           static ConnectOption obtain(String token, int timeLimit)

    - #### obtain

           static ConnectOption obtain(String token, int timeLimit, HashMap<String, String> connectExt)

    - #### describeContents

           int describeContents()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)