Class ProviderStatus
- java.lang.Object
-
- com.openfin.desktop.JsonBean
-
- com.openfin.desktop.notifications.ProviderStatus
-
public class ProviderStatus extends JsonBean
Status object returned by the Provider.- Author:
- Anthony
-
-
Constructor Summary
Constructors Constructor Description ProviderStatus(org.json.JSONObject jsonObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetVersion()Get the version number of the Provider.booleanisConnected()The current connection status from the Client to the Provider.-
Methods inherited from class com.openfin.desktop.JsonBean
get, getArray, getBoolean, getBooleanValue, getBooleanValue, getDoubleValue, getDoubleValue, getInteger, getIntegerValue, getJson, getJsonBean, getJsonBean, getJsonBeanList, getJsonCopy, getJsonValue, getList, getRectangle, getString, put, setArray, setBoolean, setInteger, setJsonArray, setJsonBean, setLong, setRectangle, setString, toString
-
-
-
-
Method Detail
-
isConnected
public boolean isConnected()
The current connection status from the Client to the Provider.- Returns:
- true if connected to the provider.
-
getVersion
public java.lang.String getVersion()
Get the version number of the Provider.- Returns:
- The version number of the Provider. If the Provider is not connected, this will be null.
-
-