Class NetworkDiagnosticValues
- Object
-
- NetworkDiagnosticValues
-
public final class NetworkDiagnosticValues extends Object
Represents 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 void
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.Date
getLastUpdatedAt()
Last updated time of any diagnostic property.DiagnosticQuality
getNetworkReceiveQuality()
Get value for `NETWORK_RECEIVE_QUALITY` if available.DiagnosticQuality
getNetworkReconnectionQuality()
Get value for `NETWORK_RECONNECT` if available.DiagnosticQuality
getNetworkSendQuality()
Get value for `NETWORK_SEND_QUALITY` if available.Boolean
isNetworkRelaysUnreachable()
Get value for `NETWORK_RELAYS_NOT_REACHABLE` if available.Boolean
isNetworkUnavailable()
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:
finalize
in 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.
-
-