iOS高德地图SDK(搜索) V9.8.0

Loading...
Searching...
No Matches
Classes | Enumerations | Variables
AMapSearchError.h File Reference

Go to the source code of this file.

## Classes
class | AMapSearchError

## Enumerations
enum | AMapSearchErrorCode : NSInteger { AMapSearchErrorOK = 1000 , AMapSearchErrorInvalidSignature = 1001 , AMapSearchErrorInvalidUserKey = 1002 , AMapSearchErrorServiceNotAvailable = 1003 , AMapSearchErrorDailyQueryOverLimit = 1004 , AMapSearchErrorTooFrequently = 1005 , AMapSearchErrorInvalidUserIP = 1006 , AMapSearchErrorInvalidUserDomain = 1007 , AMapSearchErrorInvalidUserSCode = 1008 , AMapSearchErrorUserKeyNotMatch = 1009 , AMapSearchErrorIPQueryOverLimit = 1010 , AMapSearchErrorNotSupportHttps = 1011 , AMapSearchErrorInsufficientPrivileges = 1012 , AMapSearchErrorUserKeyRecycled = 1013 , AMapSearchErrorInvalidResponse = 1100 , AMapSearchErrorInvalidEngineData = 1101 , AMapSearchErrorConnectTimeout = 1102 , AMapSearchErrorReturnTimeout = 1103 , AMapSearchErrorInvalidParams = 1200 , AMapSearchErrorMissingRequiredParams = 1201 , AMapSearchErrorIllegalRequest = 1202 , AMapSearchErrorServiceUnknown = 1203 , AMapSearchErrorClientUnknown = 1800 , AMapSearchErrorInvalidProtocol = 1801 , AMapSearchErrorTimeOut = 1802 , AMapSearchErrorBadURL = 1803 , AMapSearchErrorCannotFindHost = 1804 , AMapSearchErrorCannotConnectToHost = 1805 , AMapSearchErrorNotConnectedToInternet = 1806 , AMapSearchErrorCancelled = 1807 , AMapSearchErrorOverPassPointCount = 1809 , AMapSearchErrorOverPassAreaMaxCount = 1810 , AMapSearchErrorOverPassAreaMaxArea = 1811 , AMapSearchErrorOverPassAreaPointCount = 1812 , AMapSearchErrorOverPassKeyWordLenth = 1813 , AMapSearchErrorTableIDNotExist = 2000 , AMapSearchErrorIDNotExist = 2001 , AMapSearchErrorServiceMaintenance = 2002 , AMapSearchErrorEngineTableIDNotExist = 2003 , AMapSearchErrorInvalidNearbyUserID = 2100 , AMapSearchErrorNearbyKeyNotBind = 2101 , AMapSearchErrorOutOfService = 3000 , AMapSearchErrorNoRoadsNearby = 3001 , AMapSearchErrorRouteFailed = 3002 , AMapSearchErrorOverDirectionRange = 3003 , AMapSearchErrorShareLicenseExpired = 4000 , AMapSearchErrorShareFailed = 4001 }

## Variables
NSString *const | AMapSearchErrorDomain
| AMapSearch errorDomain.

## Enumeration Type Documentation

## ◆ AMapSearchErrorCode

enum AMapSearchErrorCode : NSInteger

Enumerator
AMapSearchErrorOK | 没有错误
AMapSearchErrorInvalidSignature | 无效签名
AMapSearchErrorInvalidUserKey | key非法或过期
AMapSearchErrorServiceNotAvailable | 没有权限使用相应的接口
AMapSearchErrorDailyQueryOverLimit | 访问已超出日访问量
AMapSearchErrorTooFrequently | 用户访问过于频繁
AMapSearchErrorInvalidUserIP | 用户IP无效
AMapSearchErrorInvalidUserDomain | 用户域名无效
AMapSearchErrorInvalidUserSCode | 安全码验证错误，bundleID与key不对应
AMapSearchErrorUserKeyNotMatch | 请求key与绑定平台不符
AMapSearchErrorIPQueryOverLimit | IP请求超限
AMapSearchErrorNotSupportHttps | 不支持HTTPS请求
AMapSearchErrorInsufficientPrivileges | 权限不足，服务请求被拒绝
AMapSearchErrorUserKeyRecycled | 开发者key被删除，无法正常使用
AMapSearchErrorInvalidResponse | 请求服务响应错误
AMapSearchErrorInvalidEngineData | 引擎返回数据异常
AMapSearchErrorConnectTimeout | 服务端请求链接超时
AMapSearchErrorReturnTimeout | 读取服务结果超时
AMapSearchErrorInvalidParams | 请求参数非法
AMapSearchErrorMissingRequiredParams | 缺少必填参数
AMapSearchErrorIllegalRequest | 请求协议非法
AMapSearchErrorServiceUnknown | 其他服务端未知错误
AMapSearchErrorClientUnknown | 客户端未知错误，服务返回结果为空或其他错误
AMapSearchErrorInvalidProtocol | 协议解析错误，通常是返回结果无法解析
AMapSearchErrorTimeOut | 连接超时
AMapSearchErrorBadURL | URL异常
AMapSearchErrorCannotFindHost | 找不到主机
AMapSearchErrorCannotConnectToHost | 服务器连接失败
AMapSearchErrorNotConnectedToInternet | 连接异常，通常为没有网络的情况
AMapSearchErrorCancelled | 连接取消
AMapSearchErrorOverPassPointCount | 途经点个数超限
AMapSearchErrorOverPassAreaMaxCount | 避让区域个数超限
AMapSearchErrorOverPassAreaMaxArea | 避让区域大小超限
AMapSearchErrorOverPassAreaPointCount | 避让区域点个数超限
AMapSearchErrorOverPassKeyWordLenth | 搜索关键字长度超限
AMapSearchErrorTableIDNotExist | table id 格式不正确
AMapSearchErrorIDNotExist | id 不存在
AMapSearchErrorServiceMaintenance | 服务器维护中
AMapSearchErrorEngineTableIDNotExist | key对应的table id 不存在
AMapSearchErrorInvalidNearbyUserID | 找不到对应userID的信息
AMapSearchErrorNearbyKeyNotBind | key未开通“附近”功能
AMapSearchErrorOutOfService | 规划点（包括起点、终点、途经点）不在中国范围内
AMapSearchErrorNoRoadsNearby | 规划点（包括起点、终点、途经点）附近搜不到道路
AMapSearchErrorRouteFailed | 路线计算失败，通常是由于道路连通关系导致
AMapSearchErrorOverDirectionRange | 起点终点距离过长
AMapSearchErrorShareLicenseExpired | 短串分享认证失败
AMapSearchErrorShareFailed | 短串请求失败

## Variable Documentation

## ◆ AMapSearchErrorDomain

NSString* const AMapSearchErrorDomain
| extern

AMapSearch errorDomain.

© 2017 高德信息技术有限公司 版权所有，保留所有权利。