Package: com.keepsolid.androidkeepsolidcommon.commonsdk.entities
Extends: java.lang.Object
getPrefferedProtocol
public java.util.List<java.lang.String> getPrefferedProtocol()
array of strings describing user's preferred VPN protocols
getCurrentRegion
public java.lang.String getCurrentRegion()
user's current VPN region
getExpiredDate
public java.lang.String getExpiredDate()
string with the date of current account expiration
getSecondsLeft
public long getSecondsLeft()
number of seconds left till account expiration
getTimeLeftString
public java.lang.String getTimeLeftString()
human-readable string which describes the time left till account expiration.
getTrafficUsed
public long getTrafficUsed()
total traffic for account (in bytes)
isExpired
public boolean isExpired()
boolean value which indicates if VPN connection is active
isVpnActive
public boolean isVpnActive()
boolean value which indicates if VPN connection is active
getServerIP
public java.lang.String getServerIP()
string with current IP address
getRealIP
public java.lang.String getRealIP()
string with real IP address
getFlagURI
public java.lang.String getFlagURI()
URL of country's flag image
getVpnUsername
public java.lang.String getVpnUsername()
user's name as it appears in system
getCoordinates
public KSLocationCoordinate2D getCoordinates()
structure that contains a user's geographical coordinate