-
public final class ViewEvent.ConnectivityDevice connectivity properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.Connectivity.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ViewEvent.Statusstatusprivate final List<ViewEvent.Interface>interfacesprivate final ViewEvent.EffectiveTypeeffectiveTypeprivate final ViewEvent.Cellularcellular
-
Constructor Summary
Constructors Constructor Description ViewEvent.Connectivity(ViewEvent.Status status, List<ViewEvent.Interface> interfaces, ViewEvent.EffectiveType effectiveType, ViewEvent.Cellular cellular)
-
Method Summary
Modifier and Type Method Description final ViewEvent.StatusgetStatus()final List<ViewEvent.Interface>getInterfaces()final ViewEvent.EffectiveTypegetEffectiveType()final ViewEvent.CellulargetCellular()final JsonElementtoJson()-
-
Constructor Detail
-
ViewEvent.Connectivity
ViewEvent.Connectivity(ViewEvent.Status status, List<ViewEvent.Interface> interfaces, ViewEvent.EffectiveType effectiveType, ViewEvent.Cellular cellular)
- Parameters:
status- Status of the device connectivityinterfaces- The list of available network interfaceseffectiveType- Cellular connection type reflecting the measured network performancecellular- Cellular connectivity properties
-
-
Method Detail
-
getStatus
final ViewEvent.Status getStatus()
-
getInterfaces
final List<ViewEvent.Interface> getInterfaces()
-
getEffectiveType
final ViewEvent.EffectiveType getEffectiveType()
-
getCellular
final ViewEvent.Cellular getCellular()
-
toJson
final JsonElement toJson()
-
-
-
-