类 GeolocationPayload
java.lang.Object
ai.nextbillion.maps.model.GeolocationPayload
- 所有已实现的接口:
java.io.Serializable
public class GeolocationPayload
extends java.lang.Object
implements java.io.Serializable
Request body.
Please see Geolocation Requests and Request Body for more detail.
The following fields are supported, and all fields are optional:
- 另请参阅:
- 序列化表格
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classGeolocationPayload.GeolocationPayloadBuilder -
字段概要
字段 修饰符和类型 字段 说明 java.lang.StringcarrierThe carrier name.CellTower[]cellTowersAn array of cell tower objects.java.lang.BooleanconsiderIpSpecifies whether to fall back to IP geolocation if wifi and cell tower signals are not available.java.lang.IntegerhomeMobileCountryCodeThe mobile country code (MCC) for the device's home network.java.lang.IntegerhomeMobileNetworkCodeThe mobile network code (MNC) for the device's home network.java.lang.StringradioTypeThe mobile radio type.WifiAccessPoint[]wifiAccessPointsAn array of WiFi access point objects. -
构造器概要
构造器 构造器 说明 GeolocationPayload() -
方法概要
修饰符和类型 方法 说明 java.lang.StringtoString()
-
字段详细资料
-
homeMobileCountryCode
public java.lang.Integer homeMobileCountryCodeThe mobile country code (MCC) for the device's home network. -
homeMobileNetworkCode
public java.lang.Integer homeMobileNetworkCodeThe mobile network code (MNC) for the device's home network. -
radioType
public java.lang.String radioTypeThe 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. -
carrier
public java.lang.String carrierThe carrier name. -
considerIp
public java.lang.Boolean considerIpSpecifies whether to fall back to IP geolocation if wifi and cell tower signals are not available. Note that the IP address in the request header may not be the IP of the device. Defaults to true. Set considerIp to false to disable fall back. -
cellTowers
An array of cell tower objects. SeeCellTower. -
wifiAccessPoints
An array of WiFi access point objects. SeeWifiAccessPoint.
-
-
构造器详细资料
-
GeolocationPayload
public GeolocationPayload()
-
-
方法详细资料
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-