Skip to content

Instantly share code, notes, and snippets.

@PatilShreyas
Created July 28, 2020 14:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PatilShreyas/574b24f32b4cca63359fff3497247108 to your computer and use it in GitHub Desktop.
Save PatilShreyas/574b24f32b4cca63359fff3497247108 to your computer and use it in GitHub Desktop.
data class CellInfo(
val token: String = BuildConfig.OPENCELLID_API_KEY,
var radio: String? = null,
var mcc: Int? = null,
var mnc: Int? = null,
var cells: List<Cell> = emptyList(),
val address: Int = 1
)
data class Cell(
val lac: Int,
val cid: Int,
val psc: Int? = null
)
object RadioType {
const val GSM = "gsm"
const val CDMA = "cdma"
const val UMTS = "umts"
const val LTE = "lte"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment