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