# SubscribeUserOnlineStatus

public class SubscribeUserOnlineStatus

订阅用户在线状态

#### Since

5.28.0

## Constructors

SubscribeUserOnlineStatus
Link copied to clipboard
public void SubscribeUserOnlineStatus(String userId, List<PlatformOnlineStatus> platforms, boolean isOnline)

## Properties

CREATOR
Link copied to clipboard
public final static Creator<SubscribeUserOnlineStatus> CREATOR
details
Link copied to clipboard
public final List<PlatformOnlineStatus> details
平台信息
isOnline
Link copied to clipboard
public final boolean isOnline
是否在线，有一个平台在线就为 true，全部在线为 false
userId
Link copied to clipboard
public final String userId
用户ID

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getDetails
Link copied to clipboard
public List<PlatformOnlineStatus> getDetails()
getUserId
Link copied to clipboard
public String getUserId()
isOnline
Link copied to clipboard
public boolean isOnline()
toString
Link copied to clipboard
public String toString()
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)