NetworkDiagnosticValues Class
- java.
lang. Object - com.
azure. android. communication. calling. NetworkDiagnosticValues
- com.
public class NetworkDiagnosticValues
Represents an object where all the latest diagnostics values for network diagnostic.
Method Summary
Modifier and Type | Method and Description |
---|---|
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. |
Diagnostic |
getNetworkReceiveQuality()
Get value for `NETWORK_RECEIVE_QUALITY` if available. Otherwise `UNKNOWN` is returned. |
Diagnostic |
getNetworkReconnectionQuality()
Get value for `NETWORK_RECONNECT` if available. Otherwise `UNKNOWN` is returned. |
Diagnostic |
getNetworkSendQuality()
Get value for `NETWORK_SEND_QUALITY` if available. Otherwise `UNKNOWN` is returned. |
Boolean |
isNetworkRelaysUnreachable()
Get value for `NETWORK_RELAYS_NOT_REACHABLE` if available. Otherwise `null` is returned. |
Boolean |
isNetworkUnavailable()
Get value for `NO_NETWORK` if available. Otherwise `null` is returned. |
Method Details
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.
getLastUpdatedAt
public Date getLastUpdatedAt()
Last updated time of any diagnostic property.
getNetworkReceiveQuality
public DiagnosticQuality getNetworkReceiveQuality()
Get value for `NETWORK_RECEIVE_QUALITY` if available. Otherwise `UNKNOWN` is returned.
getNetworkReconnectionQuality
public DiagnosticQuality getNetworkReconnectionQuality()
Get value for `NETWORK_RECONNECT` if available. Otherwise `UNKNOWN` is returned.
getNetworkSendQuality
public DiagnosticQuality getNetworkSendQuality()
Get value for `NETWORK_SEND_QUALITY` if available. Otherwise `UNKNOWN` is returned.
isNetworkRelaysUnreachable
public Boolean isNetworkRelaysUnreachable()
Get value for `NETWORK_RELAYS_NOT_REACHABLE` if available. Otherwise `null` is returned.
isNetworkUnavailable
public Boolean isNetworkUnavailable()
Get value for `NO_NETWORK` if available. Otherwise `null` is returned.