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 String` | `userId` |
    `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()` |
    `String` | `getUserId()` |
    `static ConnectOption` | `obtain(String token, int timeLimit)` |
    `static ConnectOption` | `obtain(String token, int timeLimit, HashMap<String, String> connectExt)` |
    `static ConnectOption` | `obtain(String token, int timeLimit, HashMap<String, String> connectExt, String userId)` |
    `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()

    - #### getUserId

           String getUserId()

    - #### obtain

          @Deprecated() static ConnectOption obtain(String token, int timeLimit)

    - #### obtain

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

    - #### obtain

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

    - #### describeContents

           int describeContents()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)