public class GeolocationPayload
extends java.lang.Object
Please see Geolocation Requests for more detail. https://developers.google.com/maps/documentation/geolocation/intro#body
Modifier and Type | Class and Description |
---|---|
static class |
GeolocationPayload.GeolocationPayloadBuilder |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
carrier
carrier : The carrier name. |
CellTower[] |
cellTowers
cellTowers : An array of cell tower objects. |
java.lang.Boolean |
considerIp
considerIp: Specifies whether to fall back to IP geolocation if wifi and cell tower signals are
not available.
|
java.lang.Integer |
homeMobileCountryCode
homeMobileCountryCode : The mobile country code (MCC) for the device's home network. |
java.lang.Integer |
homeMobileNetworkCode
homeMobileNetworkCode : The mobile network code (MNC) for the device's home network. |
java.lang.String |
radioType
radioType : The mobile radio type. |
WifiAccessPoint[] |
wifiAccessPoints
wifiAccessPoints : An array of WiFi access point objects. |
Constructor and Description |
---|
GeolocationPayload() |
public java.lang.Integer homeMobileCountryCode
homeMobileCountryCode
: The mobile country code (MCC) for the device's home network.public java.lang.Integer homeMobileNetworkCode
homeMobileNetworkCode
: The mobile network code (MNC) for the device's home network.public java.lang.String radioType
radioType
: The mobile radio type. Supported values are 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
carrier
: The carrier name.public java.lang.Boolean considerIp
public CellTower[] cellTowers
cellTowers
: An array of cell tower objects. See the Cell Tower Objects.public WifiAccessPoint[] wifiAccessPoints
wifiAccessPoints
: An array of WiFi access point objects. See the WiFi Access Point Objects.