Class NetworkDiagnosticValues
- Object
-
- NetworkDiagnosticValues
-
public final class NetworkDiagnosticValues extends ObjectRepresents an object where all the latest diagnostics values for network diagnostic.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.DategetLastUpdatedAt()Last updated time of any diagnostic property.DiagnosticQualitygetNetworkReceiveQuality()Get value for `NETWORK_RECEIVE_QUALITY` if available.DiagnosticQualitygetNetworkReconnectionQuality()Get value for `NETWORK_RECONNECT` if available.DiagnosticQualitygetNetworkSendQuality()Get value for `NETWORK_SEND_QUALITY` if available.BooleanisNetworkRelaysUnreachable()Get value for `NETWORK_RELAYS_NOT_REACHABLE` if available.BooleanisNetworkUnavailable()Get value for `NO_NETWORK` if available.
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalizein classObject
-
getLastUpdatedAt
public Date getLastUpdatedAt()
Last updated time of any diagnostic property.
-
isNetworkUnavailable
public Boolean isNetworkUnavailable()
Get value for `NO_NETWORK` if available. Otherwise `null` is returned.
-
isNetworkRelaysUnreachable
public Boolean isNetworkRelaysUnreachable()
Get value for `NETWORK_RELAYS_NOT_REACHABLE` if available. Otherwise `null` is returned.
-
getNetworkReconnectionQuality
public DiagnosticQuality getNetworkReconnectionQuality()
Get value for `NETWORK_RECONNECT` if available. Otherwise `UNKNOWN` is returned.
-
getNetworkReceiveQuality
public DiagnosticQuality getNetworkReceiveQuality()
Get value for `NETWORK_RECEIVE_QUALITY` if available. Otherwise `UNKNOWN` is returned.
-
getNetworkSendQuality
public DiagnosticQuality getNetworkSendQuality()
Get value for `NETWORK_SEND_QUALITY` if available. Otherwise `UNKNOWN` is returned.
-
-