public class UpdateCheckResults
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UpdateCheckResults.VersionComparator
VersionComparator compares strings that represent dotted
version numbers (e.g. |
Modifier and Type | Method and Description |
---|---|
Version |
getLocalVersion()
Returns a
Version for the current local SDK. |
Version |
getRemoteVersion()
Returns a
Version for the remote servers. |
boolean |
isApiVersionSupportedLocally(java.lang.String apiVersion)
Returns true if
apiVersion is supported by the local SDK. |
boolean |
isApiVersionSupportedRemotely(java.lang.String apiVersion)
Returns true if
apiVersion is supported on the server. |
boolean |
isLocalApiVersionNoLongerSupported()
Returns true if the server does not support any of the API
versions supported by the local SDK.
|
boolean |
isNewerApiVersionAvailable()
Returns true if the server supports a new API version that the
local SDK does not.
|
boolean |
isNewerReleaseAvailable()
Returns true if there is a newer SDK release available on the
remote server.
|
public boolean isNewerReleaseAvailable()
public boolean isNewerApiVersionAvailable()
public boolean isLocalApiVersionNoLongerSupported()
public boolean isApiVersionSupportedRemotely(java.lang.String apiVersion)
apiVersion
is supported on the server.public boolean isApiVersionSupportedLocally(java.lang.String apiVersion)
apiVersion
is supported by the local SDK.