diff --git a/ApiDoc/allclasses-frame.html b/ApiDoc/allclasses-frame.html deleted file mode 100644 index e0b0d9c..0000000 --- a/ApiDoc/allclasses-frame.html +++ /dev/null @@ -1,40 +0,0 @@ - - - -
- - -public class MoGoAiCloudRealTime
-extends java.lang.Object
-| 构造器和说明 | -
|---|
MoGoAiCloudRealTime() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static void |
-registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener)
-注册上报定位回调
- |
-
static void |
-startRealTime(android.content.Context context,
- java.lang.String appId)
-开始实时上报定位坐标服务
- |
-
static void |
-stopRealTime()
-停止实时上报定位坐标服务
- |
-
static void |
-unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener)
-取消注册上报定位回调
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static void startRealTime(android.content.Context context, - java.lang.String appId)-
context - 上下文对象appId - 配置idpublic static void stopRealTime()-
public static void registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener)-
onMsgListener - IMogoCloudOnMsgListenerpublic static void unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener)-
onMsgListener - IMogoCloudOnMsgListenerpublic interface RealTimeProvider
-| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<ADASRecognizedResult> |
-getLastADASRecognizedResult()
-获取 adas 识别列表,由外部传入
- |
-
java.util.List<CloudLocationInfo> |
-getLocationMsg()
-发送消息,由外部传入
- |
-
java.util.List<ADASRecognizedResult> getLastADASRecognizedResult()-
java.util.List<CloudLocationInfo> getLocationMsg()-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.spi | -- |
| 限定符和类型 | -类和说明 | -
|---|---|
class |
-RealTimeProviderImp
-RealTime Provider SPI 单例对象
- |
-
| 接口 | -说明 | -
|---|---|
| RealTimeProvider | -
- 蘑菇AI云平台实时定位点上报服务接口
- |
-
| 类 | -说明 | -
|---|---|
| MoGoAiCloudRealTime | -
- RealTime实时上报数据服务SDK
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.spi | -- |
| 类和说明 | -
|---|
| RealTimeProvider
- 蘑菇AI云平台实时定位点上报服务接口
- |
-
public static interface SimpleLocationCorrectStrategy.RecordLocationListener
-| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-onRecordFinish(java.util.List<CloudLocationInfo> history,
- java.util.List<CloudLocationInfo> correct,
- java.util.List<CloudLocationInfo> valid,
- java.util.List<CloudLocationInfo> err) |
-
void onRecordFinish(java.util.List<CloudLocationInfo> history, - java.util.List<CloudLocationInfo> correct, - java.util.List<CloudLocationInfo> valid, - java.util.List<CloudLocationInfo> err)-
public class SimpleLocationCorrectStrategy
-extends java.lang.Object
-| 限定符和类型 | -类和说明 | -
|---|---|
static interface |
-SimpleLocationCorrectStrategy.RecordLocationListener |
-
| 构造器和说明 | -
|---|
SimpleLocationCorrectStrategy() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
MogoLatLng |
-computerThatLonLat(double lon,
- double lat,
- double brng,
- double dist)
-根据距离和角度计算下一个经纬度
- 大地坐标系资料WGS-84 长半径a=6378137 短半径b=6356752.3142 扁率f=1/298.2572236
- |
-
CloudLocationInfo |
-correct(CloudLocationInfo info) |
-
static SimpleLocationCorrectStrategy |
-getInstance() |
-
void |
-setRecordLocationListener(SimpleLocationCorrectStrategy.RecordLocationListener recordLocationListener) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic SimpleLocationCorrectStrategy()-
public static SimpleLocationCorrectStrategy getInstance()-
public CloudLocationInfo correct(CloudLocationInfo info)-
public void setRecordLocationListener(SimpleLocationCorrectStrategy.RecordLocationListener recordLocationListener)-
public MogoLatLng computerThatLonLat(double lon, - double lat, - double brng, - double dist)-
public class SnapshotUploadInTime -extends java.lang.Object -implements UploadInTimeHandler.IUploadInTimeListener-
| 限定符和类型 | -方法和说明 | -
|---|---|
static SnapshotUploadInTime |
-getInstance() |
-
void |
-sendLocationData()
-上报自车数据
- |
-
void |
-start(android.content.Context context,
- java.lang.String appId)
-开始实时定位数据上报
- |
-
void |
-stop()
-停止实时定位数据上报
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static SnapshotUploadInTime getInstance()-
public void start(android.content.Context context, - java.lang.String appId)-
context - 上下文对象appId - 注册idpublic void stop()-
public void sendLocationData()- -
sendLocationData 在接口中 UploadInTimeHandler.IUploadInTimeListenerpublic static interface UploadInTimeHandler.IUploadInTimeListener
-| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-sendLocationData()
-上报自车数据
- |
-
public class UploadInTimeHandler
-extends java.lang.Object
-| 限定符和类型 | -类和说明 | -
|---|---|
static interface |
-UploadInTimeHandler.IUploadInTimeListener
-实时上报数据回调
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static UploadInTimeHandler |
-getInstance() |
-
void |
-resetUploadDelay(long delay)
-默认保持
-uploadDelay间隔进行位置上报,如遇服务端控制,进行上报间隔修改 |
-
void |
-setUploadInTimeListener(UploadInTimeHandler.IUploadInTimeListener uploadInTimeListener) |
-
void |
-start() |
-
void |
-stop() |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static UploadInTimeHandler getInstance()-
public void start()-
public void setUploadInTimeListener(UploadInTimeHandler.IUploadInTimeListener uploadInTimeListener)-
public void resetUploadDelay(long delay)-
uploadDelay间隔进行位置上报,如遇服务端控制,进行上报间隔修改delay - 上报间隔public void stop()-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-SimpleLocationCorrectStrategy.setRecordLocationListener(SimpleLocationCorrectStrategy.RecordLocationListener recordLocationListener) |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static SimpleLocationCorrectStrategy |
-SimpleLocationCorrectStrategy.getInstance() |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static SnapshotUploadInTime |
-SnapshotUploadInTime.getInstance() |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| 限定符和类型 | -类和说明 | -
|---|---|
class |
-SnapshotUploadInTime
-上报坐标服务
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-UploadInTimeHandler.setUploadInTimeListener(UploadInTimeHandler.IUploadInTimeListener uploadInTimeListener) |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static UploadInTimeHandler |
-UploadInTimeHandler.getInstance() |
-
| 接口 | -说明 | -
|---|---|
| SimpleLocationCorrectStrategy.RecordLocationListener | -- |
| UploadInTimeHandler.IUploadInTimeListener | -
- 实时上报数据回调
- |
-
| 类 | -说明 | -
|---|---|
| SimpleLocationCorrectStrategy | -
- 定位预测纠错策略
- |
-
| SnapshotUploadInTime | -
- 上报坐标服务
- |
-
| UploadInTimeHandler | -
- AI云 实时上报数据频率处理类
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| 类和说明 | -
|---|
| SimpleLocationCorrectStrategy
- 定位预测纠错策略
- |
-
| SimpleLocationCorrectStrategy.RecordLocationListener | -
| SnapshotUploadInTime
- 上报坐标服务
- |
-
| UploadInTimeHandler
- AI云 实时上报数据频率处理类
- |
-
| UploadInTimeHandler.IUploadInTimeListener
- 实时上报数据回调
- |
-
public class ADASRecognizedResult
-extends java.lang.Object
-| 限定符和类型 | -字段和说明 | -
|---|---|
double |
-alt
-海拔
- |
-
java.lang.String |
-carId
-车ID
- |
-
java.lang.String |
-color
-红绿灯颜色
- |
-
double |
-heading
-车头朝向
- |
-
double |
-lat
-识别物体的纬度
- |
-
double |
-lon
-识别物体的经度
- |
-
long |
-mortonCode
-莫顿码
- |
-
long |
-satelliteTime
-定位卫星时间
- |
-
double |
-speed
-速度
- |
-
long |
-systemTime
-系统时间
- |
-
int |
-type
-识别物体类型
- |
-
java.lang.String |
-uuid
-识别物体唯一标识
- |
-
| 构造器和说明 | -
|---|
ADASRecognizedResult() |
-
public int type-
public java.lang.String uuid-
public java.lang.String color-
public java.lang.String carId-
public double lat-
public double lon-
public double heading-
public long systemTime-
public long satelliteTime-
public double alt-
public double speed-
public long mortonCode-
public class CloudLocationInfo
-extends java.lang.Object
-implements android.os.Parcelable
-android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<CloudLocationInfo> |
-CREATOR |
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| 限定符 | -构造器和说明 | -
|---|---|
|
-CloudLocationInfo() |
-
|
-CloudLocationInfo(CloudLocationInfo info) |
-
protected |
-CloudLocationInfo(android.os.Parcel in) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-convertCoor2GCJ02() |
-
int |
-describeContents() |
-
boolean |
-equals(java.lang.Object o) |
-
double |
-getAlt() |
-
double |
-getHeading() |
-
double |
-getLat() |
-
double |
-getLon() |
-
long |
-getSatelliteTime() |
-
double |
-getSpeed() |
-
long |
-getSystemTime() |
-
int |
-hashCode() |
-
java.lang.String |
-print() |
-
void |
-setAlt(double alt) |
-
void |
-setHeading(double heading) |
-
void |
-setLat(double lat) |
-
void |
-setLon(double lon) |
-
void |
-setSatelliteTime(long satelliteTime) |
-
void |
-setSpeed(double speed) |
-
void |
-setSystemTime(long systemTime) |
-
java.lang.String |
-toString() |
-
void |
-writeToParcel(android.os.Parcel dest,
- int flags) |
-
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final android.os.Parcelable.Creator<CloudLocationInfo> CREATOR-
public CloudLocationInfo()-
public CloudLocationInfo(CloudLocationInfo info)-
protected CloudLocationInfo(android.os.Parcel in)-
public void convertCoor2GCJ02()-
public void writeToParcel(android.os.Parcel dest, - int flags)-
writeToParcel 在接口中 android.os.Parcelablepublic int describeContents()-
describeContents 在接口中 android.os.Parcelablepublic double getLat()-
public void setLat(double lat)-
public double getLon()-
public void setLon(double lon)-
public double getHeading()-
public void setHeading(double heading)-
public long getSystemTime()-
public void setSystemTime(long systemTime)-
public long getSatelliteTime()-
public void setSatelliteTime(long satelliteTime)-
public double getAlt()-
public void setAlt(double alt)-
public double getSpeed()-
public void setSpeed(double speed)-
public java.lang.String toString()-
toString 在类中 java.lang.Objectpublic java.lang.String print()-
public boolean equals(java.lang.Object o)-
equals 在类中 java.lang.Objectpublic int hashCode()-
hashCode 在类中 java.lang.Objectpublic class CloudRoadData
-extends java.lang.Object
-implements android.os.Parcelable
-android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<CloudRoadData> |
-CREATOR |
-
static int |
-FROM_ADAS |
-
static int |
-FROM_MY_LOCATION |
-
static int |
-FROM_ROAD_UNIT |
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| 限定符 | -构造器和说明 | -
|---|---|
|
-CloudRoadData() |
-
protected |
-CloudRoadData(android.os.Parcel in) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
int |
-describeContents() |
-
boolean |
-equals(java.lang.Object o) |
-
java.util.List<CloudLocationInfo> |
-getCoordinates() |
-
double |
-getDistance() |
-
int |
-getFromType() |
-
double |
-getHeading() |
-
double |
-getLat() |
-
int |
-getLightLeftTime() |
-
int |
-getLightStatus() |
-
double |
-getLon() |
-
java.lang.String |
-getRtmpUrl() |
-
java.lang.String |
-getSn() |
-
double |
-getSpeed() |
-
long |
-getSystemTime() |
-
int |
-getType() |
-
java.lang.String |
-getUniqueKey() |
-
java.lang.String |
-getUuid() |
-
void |
-setCoordinates(java.util.List<CloudLocationInfo> coordinates) |
-
void |
-setDistance(double distance) |
-
void |
-setFromType(int fromType) |
-
void |
-setHeading(double heading) |
-
void |
-setLat(double lat) |
-
void |
-setLightLeftTime(int lightLeftTime) |
-
void |
-setLightStatus(int lightStatus) |
-
void |
-setLon(double lon) |
-
void |
-setRtmpUrl(java.lang.String rtmpUrl) |
-
void |
-setSpeed(double speed) |
-
void |
-setSystemTime(long systemTime) |
-
void |
-setType(int type) |
-
void |
-setUuid(java.lang.String uuid) |
-
void |
-writeToParcel(android.os.Parcel dest,
- int flags) |
-
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final int FROM_MY_LOCATION-
public static final int FROM_ADAS-
public static final int FROM_ROAD_UNIT-
public static final android.os.Parcelable.Creator<CloudRoadData> CREATOR-
public CloudRoadData()-
protected CloudRoadData(android.os.Parcel in)-
public int getType()-
public void setType(int type)-
public double getLat()-
public void setLat(double lat)-
public double getLon()-
public void setLon(double lon)-
public double getSpeed()-
public void setSpeed(double speed)-
public long getSystemTime()-
public void setSystemTime(long systemTime)-
public int getLightStatus()-
public void setLightStatus(int lightStatus)-
public int getLightLeftTime()-
public void setLightLeftTime(int lightLeftTime)-
public java.lang.String getRtmpUrl()-
public void setRtmpUrl(java.lang.String rtmpUrl)-
public double getDistance()-
public void setDistance(double distance)-
public java.util.List<CloudLocationInfo> getCoordinates()-
public void setCoordinates(java.util.List<CloudLocationInfo> coordinates)-
public void setUuid(java.lang.String uuid)-
public java.lang.String getUuid()-
public java.lang.String getSn()-
public double getHeading()-
public void setHeading(double heading)-
public java.lang.String getUniqueKey()-
public int getFromType()-
public void setFromType(int fromType)-
public int describeContents()-
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest, - int flags)-
writeToParcel 在接口中 android.os.Parcelablepublic boolean equals(java.lang.Object o)-
equals 在类中 java.lang.Objectpublic class LocationResult
-extends java.lang.Object
-| 限定符和类型 | -字段和说明 | -
|---|---|
java.util.List<CloudLocationInfo> |
-coordinates
-1s 内的连续定位点
- |
-
CloudLocationInfo |
-lastCoordinate
-最后一个定位点
- |
-
long |
-mortonCode
-最后一个定位点的莫顿码
- |
-
java.lang.String |
-sn
-sn 车辆唯一识别号
- |
-
| 构造器和说明 | -
|---|
LocationResult() |
-
public java.lang.String sn-
public long mortonCode-
public CloudLocationInfo lastCoordinate-
public java.util.List<CloudLocationInfo> coordinates-
public class MogoSnapshotSetData
-extends java.lang.Object
-implements android.os.Parcelable
-android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<MogoSnapshotSetData> |
-CREATOR |
-
double |
-curSpeed
-自车速度 本地添加
- |
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| 限定符 | -构造器和说明 | -
|---|---|
|
-MogoSnapshotSetData() |
-
protected |
-MogoSnapshotSetData(android.os.Parcel in) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
int |
-describeContents() |
-
java.util.List<CloudRoadData> |
-getAllList() |
-
CloudRoadData |
-getCamera() |
-
long |
-getExpire() |
-
java.lang.String |
-getMsgId() |
-
java.util.List<CloudRoadData> |
-getNearList() |
-
long |
-getTime() |
-
CloudRoadData |
-getTrafficLight() |
-
void |
-setAllList(java.util.List<CloudRoadData> allList) |
-
void |
-setCamera(CloudRoadData camera) |
-
void |
-setExpire(long expire) |
-
void |
-setMsgId(java.lang.String msgId) |
-
void |
-setNearList(java.util.List<CloudRoadData> nearList) |
-
void |
-setTime(long time) |
-
void |
-setTrafficLight(CloudRoadData trafficLight) |
-
java.lang.String |
-toString() |
-
void |
-writeToParcel(android.os.Parcel dest,
- int flags) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic double curSpeed-
public static final android.os.Parcelable.Creator<MogoSnapshotSetData> CREATOR-
public MogoSnapshotSetData()-
protected MogoSnapshotSetData(android.os.Parcel in)-
public java.lang.String toString()-
toString 在类中 java.lang.Objectpublic java.lang.String getMsgId()-
public void setMsgId(java.lang.String msgId)-
public long getTime()-
public void setTime(long time)-
public long getExpire()-
public void setExpire(long expire)-
public java.util.List<CloudRoadData> getAllList()-
public void setAllList(java.util.List<CloudRoadData> allList)-
public CloudRoadData getTrafficLight()-
public void setTrafficLight(CloudRoadData trafficLight)-
public CloudRoadData getCamera()-
public void setCamera(CloudRoadData camera)-
public java.util.List<CloudRoadData> getNearList()-
public void setNearList(java.util.List<CloudRoadData> nearList)-
public int describeContents()-
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest, - int flags)-
writeToParcel 在接口中 android.os.Parcelablepublic class OnePerSecondSendContent
-extends java.lang.Object
-| 限定符和类型 | -字段和说明 | -
|---|---|
java.util.List<ADASRecognizedResult> |
-adas
-adas 识别物体:1s 识别到的最后帧
- |
-
LocationResult |
-self
-自车定位点
- |
-
| 构造器和说明 | -
|---|
OnePerSecondSendContent() |
-
public LocationResult self-
public java.util.List<ADASRecognizedResult> adas-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.entity | -- |
| com.mogo.realtime.api | -- |
| com.mogo.realtime.spi | -- |
| 限定符和类型 | -字段和说明 | -
|---|---|
java.util.List<ADASRecognizedResult> |
-OnePerSecondSendContent.adas
-adas 识别物体:1s 识别到的最后帧
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<ADASRecognizedResult> |
-RealTimeProvider.getLastADASRecognizedResult()
-获取 adas 识别列表,由外部传入
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<ADASRecognizedResult> |
-RealTimeProviderImp.getLastADASRecognizedResult() |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| com.mogo.realtime.entity | -- |
| com.mogo.realtime.api | -- |
| com.mogo.realtime.location | -- |
| com.mogo.realtime.socket | -- |
| com.mogo.realtime.spi | -- |
| com.mogo.realtime.util | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
CloudLocationInfo |
-SimpleLocationCorrectStrategy.correct(CloudLocationInfo info) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
CloudLocationInfo |
-SimpleLocationCorrectStrategy.correct(CloudLocationInfo info) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-SimpleLocationCorrectStrategy.RecordLocationListener.onRecordFinish(java.util.List<CloudLocationInfo> history,
- java.util.List<CloudLocationInfo> correct,
- java.util.List<CloudLocationInfo> valid,
- java.util.List<CloudLocationInfo> err) |
-
void |
-SimpleLocationCorrectStrategy.RecordLocationListener.onRecordFinish(java.util.List<CloudLocationInfo> history,
- java.util.List<CloudLocationInfo> correct,
- java.util.List<CloudLocationInfo> valid,
- java.util.List<CloudLocationInfo> err) |
-
void |
-SimpleLocationCorrectStrategy.RecordLocationListener.onRecordFinish(java.util.List<CloudLocationInfo> history,
- java.util.List<CloudLocationInfo> correct,
- java.util.List<CloudLocationInfo> valid,
- java.util.List<CloudLocationInfo> err) |
-
void |
-SimpleLocationCorrectStrategy.RecordLocationListener.onRecordFinish(java.util.List<CloudLocationInfo> history,
- java.util.List<CloudLocationInfo> correct,
- java.util.List<CloudLocationInfo> valid,
- java.util.List<CloudLocationInfo> err) |
-
| 限定符和类型 | -字段和说明 | -
|---|---|
CloudLocationInfo |
-LocationResult.lastCoordinate
-最后一个定位点
- |
-
| 限定符和类型 | -字段和说明 | -
|---|---|
java.util.List<CloudLocationInfo> |
-LocationResult.coordinates
-1s 内的连续定位点
- |
-
static android.os.Parcelable.Creator<CloudLocationInfo> |
-CloudLocationInfo.CREATOR |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<CloudLocationInfo> |
-CloudRoadData.getCoordinates() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-CloudRoadData.setCoordinates(java.util.List<CloudLocationInfo> coordinates) |
-
| 构造器和说明 | -
|---|
CloudLocationInfo(CloudLocationInfo info) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<CloudLocationInfo> |
-RealTimeProvider.getLocationMsg()
-发送消息,由外部传入
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<CloudLocationInfo> |
-MogoRTKLocation.sendLocationData() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-SocketHandler.sendMsg(java.util.List<CloudLocationInfo> cloudLocationInfo)
-发送自车和ADAS数据
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<CloudLocationInfo> |
-RealTimeProviderImp.getLocationMsg() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static CloudLocationInfo |
-LocationParseUtil.locationToCloudLocation(android.location.Location info)
-从Location 转 CloudLocationInfo
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static MogoLatLng |
-LocationParseUtil.cloudLocationToMogoLatLng(CloudLocationInfo info) |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.entity | -- |
| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<CloudRoadData> |
-CloudRoadData.CREATOR |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
CloudRoadData |
-MogoSnapshotSetData.getCamera() |
-
CloudRoadData |
-MogoSnapshotSetData.getTrafficLight() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
java.util.List<CloudRoadData> |
-MogoSnapshotSetData.getAllList() |
-
java.util.List<CloudRoadData> |
-MogoSnapshotSetData.getNearList() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-MogoSnapshotSetData.setCamera(CloudRoadData camera) |
-
void |
-MogoSnapshotSetData.setTrafficLight(CloudRoadData trafficLight) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-MogoSnapshotSetData.setAllList(java.util.List<CloudRoadData> allList) |
-
void |
-MogoSnapshotSetData.setNearList(java.util.List<CloudRoadData> nearList) |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.entity | -- |
| 限定符和类型 | -字段和说明 | -
|---|---|
LocationResult |
-OnePerSecondSendContent.self
-自车定位点
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.entity | -- |
| com.mogo.realtime.socket | -- |
| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<MogoSnapshotSetData> |
-MogoSnapshotSetData.CREATOR |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-IMogoCloudOnMsgListener.onMsgReceived(MogoSnapshotSetData mogoSnapshotSetData)
-长连接数据接收回调
- |
-
| 类 | -说明 | -
|---|---|
| ADASRecognizedResult | -- |
| CloudLocationInfo | -
- 自车定位信息
- |
-
| CloudRoadData | -
- AI云平台下发 道路数据
- |
-
| LocationResult | -- |
| MogoSnapshotSetData | -- |
| OnePerSecondSendContent | -
- 自车上报数据 1s内一次
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.api | -- |
| com.mogo.realtime.core | -- |
| com.mogo.realtime.entity | -- |
| com.mogo.realtime.location | -- |
| com.mogo.realtime.socket | -- |
| com.mogo.realtime.spi | -- |
| com.mogo.realtime.util | -- |
| 类和说明 | -
|---|
| ADASRecognizedResult | -
| CloudLocationInfo
- 自车定位信息
- |
-
| 类和说明 | -
|---|
| CloudLocationInfo
- 自车定位信息
- |
-
| 类和说明 | -
|---|
| ADASRecognizedResult | -
| CloudLocationInfo
- 自车定位信息
- |
-
| CloudRoadData
- AI云平台下发 道路数据
- |
-
| LocationResult | -
| MogoSnapshotSetData | -
| 类和说明 | -
|---|
| CloudLocationInfo
- 自车定位信息
- |
-
| 类和说明 | -
|---|
| CloudLocationInfo
- 自车定位信息
- |
-
| MogoSnapshotSetData | -
| 类和说明 | -
|---|
| ADASRecognizedResult | -
| CloudLocationInfo
- 自车定位信息
- |
-
| 类和说明 | -
|---|
| CloudLocationInfo
- 自车定位信息
- |
-
public class MogoRTKLocation
-extends java.lang.Object
-| 限定符和类型 | -方法和说明 | -
|---|---|
static MogoRTKLocation |
-getInstance() |
-
void |
-init()
-开启定位服务
- |
-
java.util.List<CloudLocationInfo> |
-sendLocationData() |
-
void |
-stop()
-关闭定位服务
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static MogoRTKLocation getInstance()-
public java.util.List<CloudLocationInfo> sendLocationData()-
public void init()-
public void stop()-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.location | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static MogoRTKLocation |
-MogoRTKLocation.getInstance() |
-
| 类 | -说明 | -
|---|---|
| MogoRTKLocation | -
- AI云SDK内部定位服务
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.location | -- |
| 类和说明 | -
|---|
| MogoRTKLocation
- AI云SDK内部定位服务
- |
-
public interface IMogoCloudOnAckListener
-public interface IMogoCloudOnMsgListener
-| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-onMsgReceived(MogoSnapshotSetData mogoSnapshotSetData)
-长连接数据接收回调
- |
-
void |
-onMsgSend(long id)
-长连接数据发送回调
- |
-
void onMsgSend(long id)-
id - 发送消息idvoid onMsgReceived(MogoSnapshotSetData mogoSnapshotSetData)-
mogoSnapshotSetData - 自车周边数据public class SocketHandler
-extends java.lang.Object
-| 构造器和说明 | -
|---|
SocketHandler() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static SocketHandler |
-getInstance() |
-
void |
-initSocket(android.content.Context context,
- java.lang.String appId)
-初始化长连接服务
- |
-
void |
-registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener) |
-
void |
-resetUploadDelayListener(IMogoCloudOnAckListener onAckListener) |
-
void |
-sendMsg(java.util.List<CloudLocationInfo> cloudLocationInfo)
-发送自车和ADAS数据
- |
-
void |
-stop() |
-
void |
-unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static SocketHandler getInstance()-
public void initSocket(android.content.Context context, - java.lang.String appId)-
context - 上下文appId - 外部传入public void registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener)-
public void unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener)-
public void resetUploadDelayListener(IMogoCloudOnAckListener onAckListener)-
public void sendMsg(java.util.List<CloudLocationInfo> cloudLocationInfo)-
cloudLocationInfo - 自车定位信息public void stop()-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.socket | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-SocketHandler.resetUploadDelayListener(IMogoCloudOnAckListener onAckListener) |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.api | -- |
| com.mogo.realtime.socket | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static void |
-MoGoAiCloudRealTime.registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener)
-注册上报定位回调
- |
-
static void |
-MoGoAiCloudRealTime.unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener)
-取消注册上报定位回调
- |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
void |
-SocketHandler.registerOnMsgListener(IMogoCloudOnMsgListener onMsgListener) |
-
void |
-SocketHandler.unRegisterOnMsgListener(IMogoCloudOnMsgListener onMsgListener) |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.socket | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static SocketHandler |
-SocketHandler.getInstance() |
-
| 接口 | -说明 | -
|---|---|
| IMogoCloudOnAckListener | -
- 长连接数据消息ack回调
- |
-
| IMogoCloudOnMsgListener | -
- 长连接数据上报下发回调
- |
-
| 类 | -说明 | -
|---|---|
| SocketHandler | -
- Socket长链 业务服务处理类
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.api | -- |
| com.mogo.realtime.socket | -- |
| 类和说明 | -
|---|
| IMogoCloudOnMsgListener
- 长连接数据上报下发回调
- |
-
| 类和说明 | -
|---|
| IMogoCloudOnAckListener
- 长连接数据消息ack回调
- |
-
| IMogoCloudOnMsgListener
- 长连接数据上报下发回调
- |
-
| SocketHandler
- Socket长链 业务服务处理类
- |
-
public class RealTimeProviderImp -extends java.lang.Object -implements RealTimeProvider-
| 构造器和说明 | -
|---|
RealTimeProviderImp() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static RealTimeProviderImp |
-getInstance() |
-
java.util.List<ADASRecognizedResult> |
-getLastADASRecognizedResult()
-获取 adas 识别列表,由外部传入
- |
-
java.util.List<CloudLocationInfo> |
-getLocationMsg()
-发送消息,由外部传入
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static RealTimeProviderImp getInstance()-
public java.util.List<ADASRecognizedResult> getLastADASRecognizedResult()-
RealTimeProvidergetLastADASRecognizedResult 在接口中 RealTimeProviderpublic java.util.List<CloudLocationInfo> getLocationMsg()-
RealTimeProvidergetLocationMsg 在接口中 RealTimeProvider| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.spi | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
static RealTimeProviderImp |
-RealTimeProviderImp.getInstance() |
-
| 类 | -说明 | -
|---|---|
| RealTimeProviderImp | -
- RealTime Provider SPI 单例对象
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.spi | -- |
| 类和说明 | -
|---|
| RealTimeProviderImp
- RealTime Provider SPI 单例对象
- |
-
public class LocationParseUtil
-extends java.lang.Object
-| 构造器和说明 | -
|---|
LocationParseUtil() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static MogoLatLng |
-cloudLocationToMogoLatLng(CloudLocationInfo info) |
-
static CloudLocationInfo |
-locationToCloudLocation(android.location.Location info)
-从Location 转 CloudLocationInfo
- |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static CloudLocationInfo locationToCloudLocation(android.location.Location info)-
info - 待转数据public static MogoLatLng cloudLocationToMogoLatLng(CloudLocationInfo info)-
public class MogoLatLng
-extends java.lang.Object
-implements android.os.Parcelable
-android.os.Parcelable.ClassLoaderCreator<T>, android.os.Parcelable.Creator<T>| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<MogoLatLng> |
-CREATOR |
-
double |
-lat |
-
double |
-lon |
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| 限定符 | -构造器和说明 | -
|---|---|
|
-MogoLatLng(double lat,
- double lon) |
-
protected |
-MogoLatLng(android.os.Parcel in) |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
int |
-describeContents() |
-
boolean |
-equals(java.lang.Object o) |
-
double |
-getLat() |
-
double |
-getLon() |
-
int |
-hashCode() |
-
java.lang.String |
-toString() |
-
void |
-writeToParcel(android.os.Parcel dest,
- int flags) |
-
clone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic final double lat-
public final double lon-
public static final android.os.Parcelable.Creator<MogoLatLng> CREATOR-
public MogoLatLng(double lat, - double lon)-
protected MogoLatLng(android.os.Parcel in)-
public double getLat()-
public double getLon()-
public boolean equals(java.lang.Object o)-
equals 在类中 java.lang.Objectpublic int hashCode()-
hashCode 在类中 java.lang.Objectpublic java.lang.String toString()-
toString 在类中 java.lang.Objectpublic int describeContents()-
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest, - int flags)-
writeToParcel 在接口中 android.os.Parcelablepublic class MortonCode
-extends java.lang.Object
-| 构造器和说明 | -
|---|
MortonCode() |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static double[] |
-decodeMorton(long mortonCode)
-将莫顿码解码为坐标
- |
-
static long |
-encodeMorton(java.lang.Double lon,
- java.lang.Double lat)
-编码 morton code
- |
-
static long |
-wrapEncodeMorton(java.lang.Double lon,
- java.lang.Double lat) |
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static long wrapEncodeMorton(java.lang.Double lon, - java.lang.Double lat)-
lon - lat - public static long encodeMorton(java.lang.Double lon, - java.lang.Double lat)-
lon - lat - public static double[] decodeMorton(long mortonCode)-
mortonCode - | 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| com.mogo.realtime.util | -- |
| 限定符和类型 | -方法和说明 | -
|---|---|
MogoLatLng |
-SimpleLocationCorrectStrategy.computerThatLonLat(double lon,
- double lat,
- double brng,
- double dist)
-根据距离和角度计算下一个经纬度
- 大地坐标系资料WGS-84 长半径a=6378137 短半径b=6356752.3142 扁率f=1/298.2572236
- |
-
| 限定符和类型 | -字段和说明 | -
|---|---|
static android.os.Parcelable.Creator<MogoLatLng> |
-MogoLatLng.CREATOR |
-
| 限定符和类型 | -方法和说明 | -
|---|---|
static MogoLatLng |
-LocationParseUtil.cloudLocationToMogoLatLng(CloudLocationInfo info) |
-
| 类 | -说明 | -
|---|---|
| LocationParseUtil | -
- 定位数据类型转换工具
- |
-
| MogoLatLng | -
- 经纬度
- |
-
| MortonCode | -
- 莫顿编码
- |
-
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| com.mogo.realtime.util | -- |
| 类和说明 | -
|---|
| MogoLatLng
- 经纬度
- |
-
| 类和说明 | -
|---|
| MogoLatLng
- 经纬度
- |
-
| 限定符和类型 | -常量字段 | -值 | -
|---|---|---|
-
-public static final int |
-FROM_ADAS |
-2 |
-
-
-public static final int |
-FROM_MY_LOCATION |
-1 |
-
-
-public static final int |
-FROM_ROAD_UNIT |
-3 |
-
public class Sample
-public static class NetConstants.Companion
-public class NetConstants
-created by wujifei on 2021/1/20 10:46 -describe:
public static int NO_DATA-
无数据
public static int OK-
数据返回正常
public static long READ_TIMEOUT-
public static long WRITE_TIMEOUT-
public static long CONNECT_TIMEOUT-
public static int HTTP_DNS_ADDRESS_TYPE_HTTP-
public static int HTTP_DNS_ADDRESS_TYPE_WS-
public static int HTTP_DNS_ADDRESS_TYPE_IM-
public static com.mogo.cloud.network.NetConstants.Companion Companion-
public static class OkHttpFactory.Companion
-public class OkHttpFactory
-public class RetrofitFactory
-public static RetrofitFactory INSTANCE-
@Synchronized - @Nullable -public retrofit2.Retrofit getInstance(@NotNull - java.lang.String baseUrl)-
@Synchronized - @Nullable -public retrofit2.Retrofit getInstanceNoCallAdapter(@NotNull - java.lang.String baseUrl)-
public class HeaderNetworkInterceptor
-created by wujifei on 2021/1/20 15:18 -describe:
| 类 | -说明 | -
|---|---|
| HeaderNetworkInterceptor | -
- created by wujifei on 2021/1/20 15:18
-describe:
- |
-
| 类 | -说明 | -
|---|---|
| NetConstants | -
- created by wujifei on 2021/1/20 10:46
-describe:
- |
-
| OkHttpFactory | -- |
| RetrofitFactory | -- |
| 类 | -说明 | -
|---|---|
| Sample | -- |
public class CoordinateUtils
-public static kotlin.Array[] transformFromWGSToGCJ(double lat, - double lon)-
手机GPS坐标转火星坐标
public static double transformLat(double x, - double y)-
public static double transformLon(double x, - double y)-
public static boolean outOfChina(double lat, - double lon)-
public static kotlin.Array[] transformGcj02toWgs84(double lat, - double lng)-
public static float calculateLineDistance(double lon1, - double lat1, - double lon2, - double lat2)-
lon1 - lat1 - lon2 - lat2 - public class NetworkUtilsKt
-| 类 | -说明 | -
|---|---|
| CoordinateUtils | -- |
| NetworkUtilsKt | -- |
| 限定符和类型 | -常量字段 | -值 | -
|---|---|---|
-
-public static long |
-CONNECT_TIMEOUT |
-15000 |
-
-
-public static int |
-HTTP_DNS_ADDRESS_TYPE_HTTP |
-0 |
-
-
-public static int |
-HTTP_DNS_ADDRESS_TYPE_IM |
-2 |
-
-
-public static int |
-HTTP_DNS_ADDRESS_TYPE_WS |
-1 |
-
-
-public static int |
-NO_DATA |
--800 |
-
-
-public static int |
-OK |
-0 |
-
-
-public static long |
-READ_TIMEOUT |
-20000 |
-
-
-public static long |
-WRITE_TIMEOUT |
-20000 |
-
概览 页面是此 API 文档的首页, 提供了所有程序包的列表及其概要。此页面也可能包含这些程序包的总体说明。
-每个程序包都有一个页面, 其中包含它的类和接口的列表及其概要。此页面可以包含六个类别:
-每个类, 接口, 嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分 (类/接口说明, 概要表, 以及详细的成员说明) 组成:
-每个概要条目都包含该项目的详细说明的第一句。概要条目按字母顺序排列, 而详细说明则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。
-每个注释类型都有各自的页面, 其中包含以下部分:
-每个枚举都有各自的页面, 其中包含以下部分:
-对于所有程序包, 有一个类分层结构页面, 以及每个程序包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从java.lang.Object开始, 按继承结构对类进行排列。接口不从java.lang.Object继承。
已过时的 API 页面列出了所有已过时的 API。一般由于进行了改进并且通常提供了替代的 API, 所以建议不要使用已过时的 API。在将来的实现过程中, 可能会删除已过时的 API。
-索引 包含按字母顺序排列的所有类, 接口, 构造器, 方法和字段的列表。
-这些链接使您可以转至下一个或上一个类, 接口, 程序包或相关页面。
-这些链接用于显示和隐藏 HTML 框架。所有页面均具有有框架和无框架两种显示方式。
-所有类链接显示所有类和接口 (除了非静态嵌套类型)。
-每个可序列化或可外部化的类都有其序列化字段和方法的说明。此信息对重新实现者有用, 而对使用 API 的开发者则没有什么用处。尽管导航栏中没有链接, 但您可以通过下列方式获取此信息: 转至任何序列化类, 然后单击类说明的 "另请参阅" 部分中的 "序列化表格"。
-常量字段值页面列出了静态最终字段及其值。
-- - diff --git a/ApiDoc/foudations/commons/overview-summary.html b/ApiDoc/foudations/commons/overview-summary.html deleted file mode 100644 index b69cdf6..0000000 --- a/ApiDoc/foudations/commons/overview-summary.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -
| 程序包 | -说明 | -
|---|---|
| com.mogo.cloud.commons | -- |
| com.mogo.cloud.commons.network | -- |
| com.mogo.cloud.network.interceptor | -- |
| com.mogo.cloud.commons.utils | -- |
public class MogoHttpDnsClient -implements IMogoHttpDns-
public static MogoHttpDnsClient INSTANCE-
public void init(@NotNull - MogoHttpDnsConfig config)-
@Nullable -public java.lang.String getHttpDnsAddressUseCacheIfNecessary(int type, - @NotNull - java.lang.String _host)-
先从本地缓存中根据type和host获取ip:port,如果本地缓存中没有,再通过网络获取
@Nullable -public java.lang.String getHttpDnsAddress(int type, - @NotNull - java.lang.String _host)-
根据类型和host获取IP,直接通过网络请求获取全部路由表 -同时多线程多次请求会忽略部分网络请求,一定程度减少接口请求次数
type - HTTP_DNS_TYPE_HTTP用于请求http接口 HTTP_DNS_TYPE_WS用于webSocket长连接 若增加新类型,可自行设置@Nullable -public java.lang.String getHttpDnsCachedAddress(int type, - @NotNull - java.lang.String _host)-
根据类型和host获取本地cache的路由表
type - HTTP_DNS_TYPE_HTTP用于请求http接口 HTTP_DNS_TYPE_WS用于webSocket长连接 若增加新类型,可自行设置@Nullable -public java.util.Map<java.lang.String,java.lang.String> getAllAddress()-
获取全部路由表
public void release()-
public static class MogoHttpDnsConfig.Companion
-public class MogoHttpDnsConfig
-public static int HTTP_DNS_ENV_DEV-
研发环境
public static int HTTP_DNS_ENV_QA-
测试环境
public static int HTTP_DNS_ENV_DEMO-
演示环境
public static int HTTP_DNS_ENV_RELEASE-
线上环境
public static com.mogo.cloud.httpdns.MogoHttpDnsConfig.Companion Companion-
@NotNull -public MogoHttpDnsConfig setContext(@NotNull - android.content.Context context)-
@Nullable -public android.content.Context getContext()-
@NotNull -public MogoHttpDnsConfig setSn(@NotNull - java.lang.String sn)-
@Nullable -public java.lang.String getSn()-
@NotNull -public MogoHttpDnsConfig setShowDebugLog(boolean showDebugLog)-
public boolean showDebugLog()-
@NotNull -public MogoHttpDnsConfig setLoopCheckDelay(long loopCheckDelay)-
public long getLoopCheckDelay()-
@NotNull -public MogoHttpDnsConfig setCurrentLocation(@NotNull - IHttpDnsCurrentLocation currentLocation)-
@Nullable -public IHttpDnsCurrentLocation getCurrentLocation()-
@NotNull -public MogoHttpDnsConfig setEnv(int env)-
public int getEnv()-
@NotNull -public MogoHttpDnsConfig setDefaultUrl(@NotNull - java.lang.String defaultUrl)-
@Nullable -public java.lang.String getDefaultUrl()-
@NotNull -public MogoHttpDnsConfig setAppKey(@NotNull - java.lang.String appKey)-
@NotNull -public java.lang.String getAppKey()-
public class HttpDnsSimpleLocation
-httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
public HttpDnsSimpleLocation(@NotNull - java.lang.String cityCode, - double lat, - double lon)-
httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
@NotNull -public java.lang.String getCityCode()-
public double getLat()-
public double getLon()-
@NotNull -public java.lang.String component1()-
public double component2()-
public double component3()-
@NotNull -public HttpDnsSimpleLocation copy(@NotNull - java.lang.String cityCode, - double lat, - double lon)-
httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
@NotNull -public java.lang.String toString()-
httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
public int hashCode()-
httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
public boolean equals(@Nullable - java.lang.Object p)-
httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
| 类 | -说明 | -
|---|---|
| HttpDnsSimpleLocation | -
- httpDns需要的定位信息,需要使用高德定位的经纬度坐标和cityCode
- |
-
public IHttpDnsCurrentLocation
-@Nullable -HttpDnsSimpleLocation getCurrentLocation()-
public IMogoHttpDns
-@Nullable -java.lang.String getHttpDnsAddress(int type, - @NotNull - java.lang.String _host)-
根据类型和host获取IP,直接通过网络请求获取全部路由表 -同时多线程多次请求会忽略部分网络请求,一定程度减少接口请求次数
type - HTTP_DNS_TYPE_HTTP用于请求http接口 HTTP_DNS_TYPE_WS用于webSocket长连接 若增加新类型,可自行设置@Nullable -java.lang.String getHttpDnsCachedAddress(int type, - @NotNull - java.lang.String _host)-
根据类型和host获取本地cache的路由表
type - HTTP_DNS_TYPE_HTTP用于请求http接口 HTTP_DNS_TYPE_WS用于webSocket长连接 若增加新类型,可自行设置@Nullable -java.util.Map<java.lang.String,java.lang.String> getAllAddress()-
获取全部路由表
void release()-
public OnAddressChangedListener
-| 接口 | -说明 | -
|---|---|
| IHttpDnsCurrentLocation | -- |
| IMogoHttpDns | -- |
| OnAddressChangedListener | -- |
| 类 | -说明 | -
|---|---|
| MogoHttpDnsClient | -- |
| MogoHttpDnsConfig | -- |
public class ApiManager
-接口请求管理类
public ApiManager(@NotNull - java.lang.String sn, - int env, - @NotNull - java.lang.String appKey)-
接口请求管理类
@Nullable -public java.util.Map<java.lang.String,java.lang.String> requestHttpDns(@NotNull - IHttpDnsCurrentLocation _location)-
public class ApiManagerKt
-public class L
-简单实现日志工具类
public boolean isDebug()-
public void setDebug(boolean p)-
public void d(@NotNull - java.lang.String tag, - @NotNull - java.lang.String msg)-
public void e(@NotNull - java.lang.String tag, - @NotNull - java.lang.String msg)-
public class NetWorkUtil
-网络状态工具类 -监听和获取网络状态
public class NetWorkUtilKt
-| 类 | -说明 | -
|---|---|
| ApiManager | -
- 接口请求管理类
- |
-
| ApiManagerKt | -- |
| L | -
- 简单实现日志工具类
- |
-
| NetWorkUtil | -
- 网络状态工具类
-监听和获取网络状态
- |
-
| NetWorkUtilKt | -- |
| 限定符和类型 | -常量字段 | -值 | -
|---|---|---|
-
-public static int |
-HTTP_DNS_ENV_DEMO |
-4 |
-
-
-public static int |
-HTTP_DNS_ENV_DEV |
-1 |
-
-
-public static int |
-HTTP_DNS_ENV_QA |
-2 |
-
-
-public static int |
-HTTP_DNS_ENV_RELEASE |
-3 |
-
概览 页面是此 API 文档的首页, 提供了所有程序包的列表及其概要。此页面也可能包含这些程序包的总体说明。
-每个程序包都有一个页面, 其中包含它的类和接口的列表及其概要。此页面可以包含六个类别:
-每个类, 接口, 嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分 (类/接口说明, 概要表, 以及详细的成员说明) 组成:
-每个概要条目都包含该项目的详细说明的第一句。概要条目按字母顺序排列, 而详细说明则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。
-每个注释类型都有各自的页面, 其中包含以下部分:
-每个枚举都有各自的页面, 其中包含以下部分:
-对于所有程序包, 有一个类分层结构页面, 以及每个程序包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从java.lang.Object开始, 按继承结构对类进行排列。接口不从java.lang.Object继承。
已过时的 API 页面列出了所有已过时的 API。一般由于进行了改进并且通常提供了替代的 API, 所以建议不要使用已过时的 API。在将来的实现过程中, 可能会删除已过时的 API。
-索引 包含按字母顺序排列的所有类, 接口, 构造器, 方法和字段的列表。
-这些链接使您可以转至下一个或上一个类, 接口, 程序包或相关页面。
-这些链接用于显示和隐藏 HTML 框架。所有页面均具有有框架和无框架两种显示方式。
-所有类链接显示所有类和接口 (除了非静态嵌套类型)。
-每个可序列化或可外部化的类都有其序列化字段和方法的说明。此信息对重新实现者有用, 而对使用 API 的开发者则没有什么用处。尽管导航栏中没有链接, 但您可以通过下列方式获取此信息: 转至任何序列化类, 然后单击类说明的 "另请参阅" 部分中的 "序列化表格"。
-常量字段值页面列出了静态最终字段及其值。
-请使用框架功能查看此文档。如果看到此消息, 则表明您使用的是不支持框架的 Web 客户机。链接到非框架版本。
-- - diff --git a/ApiDoc/foudations/httpdns/overview-summary.html b/ApiDoc/foudations/httpdns/overview-summary.html deleted file mode 100644 index 133e642..0000000 --- a/ApiDoc/foudations/httpdns/overview-summary.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -
| 程序包 | -说明 | -
|---|---|
| com.mogo.cloud.httpdns | -- |
| com.mogo.cloud.httpdns.bean | -- |
| com.mogo.cloud.httpdns.listener | -- |
| com.mogo.cloud.httpdns.util | -- |
概览 页面是此 API 文档的首页, 提供了所有程序包的列表及其概要。此页面也可能包含这些程序包的总体说明。
-每个程序包都有一个页面, 其中包含它的类和接口的列表及其概要。此页面可以包含六个类别:
-每个类, 接口, 嵌套类和嵌套接口都有各自的页面。其中每个页面都由三部分 (类/接口说明, 概要表, 以及详细的成员说明) 组成:
-每个概要条目都包含该项目的详细说明的第一句。概要条目按字母顺序排列, 而详细说明则按其在源代码中出现的顺序排列。这样保持了程序员所建立的逻辑分组。
-每个注释类型都有各自的页面, 其中包含以下部分:
-每个枚举都有各自的页面, 其中包含以下部分:
-每个已文档化的程序包, 类和接口都有各自的“使用”页面。此页面介绍了使用给定类或程序包的任何部分的程序包, 类, 方法, 构造器和字段。对于给定的类或接口 A, 其“使用”页面包含 A 的子类, 声明为 A 的字段, 返回 A 的方法, 以及带有类型为 A 的参数的方法和构造器。访问此页面的方法是: 首先转至程序包, 类或接口, 然后单击导航栏中的 "使用" 链接。
-对于所有程序包, 有一个类分层结构页面, 以及每个程序包的分层结构。每个分层结构页面都包含类的列表和接口的列表。从java.lang.Object开始, 按继承结构对类进行排列。接口不从java.lang.Object继承。
已过时的 API 页面列出了所有已过时的 API。一般由于进行了改进并且通常提供了替代的 API, 所以建议不要使用已过时的 API。在将来的实现过程中, 可能会删除已过时的 API。
-索引 包含按字母顺序排列的所有类, 接口, 构造器, 方法和字段的列表。
-这些链接使您可以转至下一个或上一个类, 接口, 程序包或相关页面。
-这些链接用于显示和隐藏 HTML 框架。所有页面均具有有框架和无框架两种显示方式。
-所有类链接显示所有类和接口 (除了非静态嵌套类型)。
-每个可序列化或可外部化的类都有其序列化字段和方法的说明。此信息对重新实现者有用, 而对使用 API 的开发者则没有什么用处。尽管导航栏中没有链接, 但您可以通过下列方式获取此信息: 转至任何序列化类, 然后单击类说明的 "另请参阅" 部分中的 "序列化表格"。
-常量字段值页面列出了静态最终字段及其值。
-UploadInTimeHandler.uploadDelay间隔进行位置上报,如遇服务端控制,进行上报间隔修改请使用框架功能查看此文档。如果看到此消息, 则表明您使用的是不支持框架的 Web 客户机。链接到非框架版本。
-- - diff --git a/ApiDoc/overview-summary.html b/ApiDoc/overview-summary.html deleted file mode 100644 index 5a0963d..0000000 --- a/ApiDoc/overview-summary.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - -
| 程序包 | -说明 | -
|---|---|
| com.mogo.realtime.core | -- |
| com.mogo.realtime.entity | -- |
| com.mogo.realtime.api | -- |
| com.mogo.realtime.location | -- |
| com.mogo.realtime.socket | -- |
| com.mogo.realtime.spi | -- |
| com.mogo.realtime.util | -- |