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