public class GeolocationPayload
extends java.lang.Object
implements java.io.Serializable
Please see Geolocation Requests and Request Body for more detail.
The following fields are supported, and all fields are optional:
Modifier and Type | Class and Description |
---|---|
static class |
GeolocationPayload.GeolocationPayloadBuilder |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
carrier
The carrier name.
|
CellTower[] |
cellTowers
An array of cell tower objects.
|
java.lang.Boolean |
considerIp
Specifies whether to fall back to IP geolocation if wifi and cell tower signals are not
available.
|
java.lang.Integer |
homeMobileCountryCode
The mobile country code (MCC) for the device's home network.
|
java.lang.Integer |
homeMobileNetworkCode
The mobile network code (MNC) for the device's home network.
|
java.lang.String |
radioType
The mobile radio type.
|
WifiAccessPoint[] |
wifiAccessPoints
An array of WiFi access point objects.
|
Constructor and Description |
---|
GeolocationPayload() |
public java.lang.Integer homeMobileCountryCode
public java.lang.Integer homeMobileNetworkCode
public java.lang.String radioType
"lte"
, "gsm"
, "cdma"
, and
"wcdma"
. While this field is optional, it should be included if a value is available,
for more accurate results.public java.lang.String carrier
public java.lang.Boolean considerIp
public WifiAccessPoint[] wifiAccessPoints
WifiAccessPoint
.