public class UserStatus extends Object
At this time, UserStatus is only capable of telling you when your account expires with the upstream data feed. For the Network client, this will tell you when your Schedules Direct account expires, but for the Zip client it won't tell you anything useful (because a "subscription" to your zip file of data never expires).
Only EpgClient can instantiate objects of this class
Modifier and Type | Method and Description |
---|---|
Date |
getExpires() |
Date |
getLastServerRefresh() |
Map<String,Date> |
getLineupInfo() |
int |
getMaxLineups() |
Date |
getNextSuggestedConnectTime() |
Message[] |
getSystemMessages() |
String |
getUserId() |
Message[] |
getUserMessages() |
boolean |
isExpired() |
boolean |
isNewDataAvailable(Date lastDownload) |
String |
toJson() |
String |
toString() |
public String toJson()
public Date getExpires()
public boolean isExpired()
public boolean isNewDataAvailable(Date lastDownload)
lastDownload
- The time this user last downloaded data from the Schedules Direct serverspublic Date getLastServerRefresh()
public Message[] getUserMessages()
public Message[] getSystemMessages()
public String getUserId()
public int getMaxLineups()
public Date getNextSuggestedConnectTime()
Copyright © 2012–2014 Battams, Derek. All rights reserved.