Package io.rong.imlib.model

## Class SubscribeEvent

- All Implemented Interfaces:

      public class SubscribeEvent

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `public enum` | `SubscribeEvent.SubscribeType` | 订阅类型
    `public enum` | `SubscribeEvent.OperationType` | 操作类型
    `public enum` | `SubscribeEvent.Platform` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `userId` |
    `public SubscribeEvent.SubscribeType` | `subscribeType` |
    `public SubscribeEvent.OperationType` | `operationType` |
    `public long` | `subscribeTime` |
    `public int` | `expiry` |
    `public final static Creator<SubscribeEvent>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SubscribeEvent(NativeObject.SubscribeEvent item)` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getUserId()` |
    `void` | `setUserId(String userId)` |
    `SubscribeEvent.SubscribeType` | `getSubscribeType()` |
    `void` | `setSubscribeType(SubscribeEvent.SubscribeType subscribeType)` |
    `SubscribeEvent.OperationType` | `getOperationType()` |
    `void` | `setOperationType(SubscribeEvent.OperationType operationType)` |
    `long` | `getSubscribeTime()` |
    `void` | `setSubscribeTime(long subscribeTime)` |
    `int` | `getExpiry()` |
    `void` | `setExpiry(int expiry)` |
    `void` | `writeToParcel(Parcel dest, int flags)` |
    `int` | `describeContents()` |
    `String` | `toString()` |

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

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

- - ### Constructor Detail

    - #### SubscribeEvent

          SubscribeEvent(NativeObject.SubscribeEvent item)

  - ### Method Detail

    - #### getUserId

           String getUserId()

    - #### setUserId

           void setUserId(String userId)

    - #### getSubscribeType

           SubscribeEvent.SubscribeType getSubscribeType()

    - #### setSubscribeType

           void setSubscribeType(SubscribeEvent.SubscribeType subscribeType)

    - #### getOperationType

           SubscribeEvent.OperationType getOperationType()

    - #### setOperationType

           void setOperationType(SubscribeEvent.OperationType operationType)

    - #### getSubscribeTime

           long getSubscribeTime()

    - #### setSubscribeTime

           void setSubscribeTime(long subscribeTime)

    - #### getExpiry

           int getExpiry()

    - #### setExpiry

           void setExpiry(int expiry)

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)

    - #### describeContents

           int describeContents()

    - #### toString

           String toString()