ConnectionType

io.predictor.v1.ConnectionType
See theConnectionType companion object
sealed abstract class ConnectionType(val value: Int) extends GeneratedEnum

Copy of AdCom types, we don't reuse adcom types from this repo since they're de-facto SDK contract and could be contaminated with other fields

Attributes

Companion
object
Graph
Supertypes
trait GeneratedEnum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object CELL_2G
object CELL_3G
object CELL_4G
object CELL_5G
object CELL_UNKNOWN
trait Recognized
object WIFI
object WIRED
class Unrecognized
Show all

Members list

Type members

Value members

Concrete methods

final def asRecognized: Option[Recognized]
def companion: GeneratedEnumCompanion[ConnectionType]
def isCell2G: Boolean
def isCell3G: Boolean
def isCell4G: Boolean
def isCell5G: Boolean
def isCellUnknown: Boolean
def isWifi: Boolean
def isWired: Boolean

Inherited methods

def isUnrecognized: Boolean

Attributes

Inherited from:
GeneratedEnum
def javaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product
def scalaValueDescriptor: EnumValueDescriptor

Attributes

Inherited from:
GeneratedEnum
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
GeneratedEnum -> Any
Inherited from:
GeneratedEnum

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def index: Int

Attributes

Inherited from:
GeneratedEnum
def name: String

Attributes

Inherited from:
GeneratedEnum
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Concrete fields

val value: Int