Package com.launchdarkly.sdk.android
Interface ConnectionInformation
public interface ConnectionInformation
Provides various information about a current or previous connection.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Enumerated type defining the possible values ofgetConnectionMode()
. -
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
getConnectionMode
ConnectionInformation.ConnectionMode getConnectionMode()- Returns:
- the
ConnectionInformation.ConnectionMode
-
getLastFailure
LDFailure getLastFailure()- Returns:
- the last
LDFailure
-
getLastSuccessfulConnection
Long getLastSuccessfulConnection()- Returns:
- millis since epoch when the last successful connection occurred
-
getLastFailedConnection
Long getLastFailedConnection()- Returns:
- millis since epoch when the last connection connection failure occurred
-