com.hubspot.chrome.devtools.client.core.network.ConnectionType Maven / Gradle / Ivy
package com.hubspot.chrome.devtools.client.core.network;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* The underlying connection technology that the browser is supposedly using.
*/
public enum ConnectionType {
NONE("none"),
CELLULAR2G("cellular2g"),
CELLULAR3G("cellular3g"),
CELLULAR4G("cellular4g"),
BLUETOOTH("bluetooth"),
ETHERNET("ethernet"),
WIFI("wifi"),
WIMAX("wimax"),
OTHER("other");
private final String value;
ConnectionType(String value) {
this.value= value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return value;
}
}