-
public final class VitalEvent.ConnectivityDevice connectivity properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classVitalEvent.Connectivity.Companion
-
Field Summary
Fields Modifier and Type Field Description private final VitalEvent.Statusstatusprivate final List<VitalEvent.Interface>interfacesprivate final VitalEvent.EffectiveTypeeffectiveTypeprivate final VitalEvent.Cellularcellular
-
Constructor Summary
Constructors Constructor Description VitalEvent.Connectivity(VitalEvent.Status status, List<VitalEvent.Interface> interfaces, VitalEvent.EffectiveType effectiveType, VitalEvent.Cellular cellular)
-
Method Summary
Modifier and Type Method Description final VitalEvent.StatusgetStatus()final List<VitalEvent.Interface>getInterfaces()final VitalEvent.EffectiveTypegetEffectiveType()final VitalEvent.CellulargetCellular()final JsonElementtoJson()-
-
Constructor Detail
-
VitalEvent.Connectivity
VitalEvent.Connectivity(VitalEvent.Status status, List<VitalEvent.Interface> interfaces, VitalEvent.EffectiveType effectiveType, VitalEvent.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 VitalEvent.Status getStatus()
-
getInterfaces
final List<VitalEvent.Interface> getInterfaces()
-
getEffectiveType
final VitalEvent.EffectiveType getEffectiveType()
-
getCellular
final VitalEvent.Cellular getCellular()
-
toJson
final JsonElement toJson()
-
-
-
-