Skip navigation links
A B C D E F G H I K L M N O P R S T U V W X Z 

O

OALoginAdapter - Class in com.aliyun.iot.aep.sdk.login.oa
Created by feijie.xfj on 17/10/30.
OALoginAdapter(Context) - Constructor for class com.aliyun.iot.aep.sdk.login.oa.OALoginAdapter
 
OALoginAdapter.OALoginAdapterInitResultCallback - Interface in com.aliyun.iot.aep.sdk.login.oa
 
OALoginAdapter.OALoginCallback - Class in com.aliyun.iot.aep.sdk.login.oa
 
OALoginAdapter.OnBeforeLogoutListener - Interface in com.aliyun.iot.aep.sdk.login.oa
 
OALoginCallback(ILoginCallback) - Constructor for class com.aliyun.iot.aep.sdk.login.oa.OALoginAdapter.OALoginCallback
 
offline(ISubDeviceActionListener) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceChannel
子设备下线
onCallback(BoneCallback, JSONObject) - Static method in class com.aliyun.alink.linksdk.tmp.extbone.BoneThing
 
onCommand(String, byte[]) - Method in interface com.aliyun.alink.linksdk.channel.core.persistent.event.IOnPushListener
下推消息回调接口
onCommand(String, String) - Method in interface com.aliyun.alink.linksdk.channel.mobile.api.IMobileDownstreamListener
 
onComplete(boolean, Object) - Method in interface com.aliyun.alink.linksdk.tmp.device.panel.listener.IPanelCallback
设备操作回调函数
当设备操作结束时回调
onComplete(String, ErrorInfo, Object) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IProvisionResponser
当请求处理后调用该接口,返回错误结构或者处理结果
onComplete(String, ErrorInfo, Object) - Method in interface com.aliyun.alink.linksdk.tmp.listener.ITRawDataResponseCallback
回调结束接口
onComplete(String, ErrorInfo, Object) - Method in interface com.aliyun.alink.linksdk.tmp.listener.ITResResponseCallback
当请求处理后调用该接口,返回错误结构或者处理结果
onComplete(boolean, Object) - Method in class com.aliyun.alink.linksdk.tmp.service.DevService.OnlyOnceServiceListener
 
onComplete(boolean, Object) - Method in interface com.aliyun.alink.linksdk.tmp.service.DevService.ServiceListener
当服务调用结束时触发
onConnectionStateChange(IBreezeDevice, int, int) - Method in class com.aliyun.alink.linksdk.tmp.service.DevService.breezeSubDevLoginCallback
 
onConnectionStateChange(IBreezeDevice, int, int) - Method in interface com.aliyun.iot.breeze.api.IBreeze.ConnectionCallback
当设备状态发生变化时触发
onConnectResult(boolean, ISubDeviceChannel, AError) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceConnectListener
子设备建立拓扑关系结果
onConnectStateChange(GatewayConnectState) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.IGatewayConnectListener
网关连接状态变化回调
onConnectStateChange(MobileConnectState) - Method in interface com.aliyun.alink.linksdk.channel.mobile.api.IMobileConnectListener
通道状态变化回调
onCountrySelect(IoTSmart.Country) - Method in interface com.aliyun.iot.aep.sdk.IoTSmart.ICountrySelectCallBack
 
onCountrySet(boolean) - Method in interface com.aliyun.iot.aep.sdk.IoTSmart.ICountrySetCallBack
返回设置国家后是否需要重启
onDataPush(String, AMessage) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceConnectListener
处理子设备相关下行数据
onDestroy() - Method in class com.aliyun.alink.linksdk.tmp.extbone.BoneThing
 
onDeviceFound(DiscoveryType, List<DeviceInfo>) - Method in interface com.aliyun.alink.business.devicecenter.api.discovery.IDeviceDiscoveryListener
发现待配设备后者已配设备的时候触发
onDevStateChange(String, Object) - Method in class com.aliyun.alink.linksdk.tmp.extbone.BoneThing
 
onDevStateChange(TmpEnum.DeviceState) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IDevStateChangeListener
当设备状态发生变化后触发
onDiscoveryDeviceStateChange(DeviceBasicData, TmpEnum.DiscoveryDeviceState) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IDiscoveryDeviceStateChangeListener
 
onEnable() - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.ISetupWifiAPListener
Deprecated.
当热点启动成功时触发
onEnrolleeDeviceFound(List<DeviceInfo>) - Method in interface com.aliyun.alink.business.devicecenter.api.discovery.IDiscoveryListener
Deprecated.
当获取到当前路由器或已配设备上传的发现列表时触发。
onError(String, AError) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IPublishResourceListener
资源发布失败回调
onFail(DCErrorCode) - Method in interface com.aliyun.alink.business.devicecenter.api.discovery.IDiscovery
 
onFail(String) - Method in interface com.aliyun.alink.business.devicecenter.api.discovery.IOnDeviceTokenGetListener
 
onFail() - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.ISetupWifiAPListener
Deprecated.
当热点启动失败时触发
onFail(String) - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.ISwitchApResultListenr
Deprecated.
当切换 AP 失败的时候触发
onFail(DCErrorCode) - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.IWiFiAPEnableListener
Deprecated.
当热点启动失败时触发
onFail(Object, ErrorInfo) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IDevListener
当函数调用返回失败时触发
onFail(Object, ErrorInfo) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IDevRawDataListener
当函数调用返回失败时触发
onFail(ErrorInfo) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IProcessListener
当函数调用返回失败时触发
onFail(String, int, String) - Method in interface com.aliyun.iot.aep.sdk.IoTSmart.ICountryListGetCallBack
获取国家/地区列表失败
onFailed(String, AError) - Method in interface com.aliyun.alink.linksdk.channel.core.persistent.IOnSubscribeListener
订阅或取消订阅失败
onFailed(AError) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceActionListener
失败回调
onFailed(AError) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceRemoveListener
移除失败回调
onFailure(AError) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.IGatewayRequestListener
请求失败回调
onFailure(AError) - Method in interface com.aliyun.alink.linksdk.channel.mobile.api.IMobileRequestListener
请求失败回调
onFailure(IoTRequest, Exception) - Method in interface com.aliyun.iot.aep.sdk.apiclient.callback.IoTCallback
当请求发送失败时触发

未能得到服务器回应信息,通常是 host 设置错误、客户端网络环境等原因导致的

onFailure(IoTRequest, Exception) - Method in interface com.aliyun.iot.aep.sdk.apiclient.tracker.Tracker
当发送请求失败时触发
onFailure(int, String) - Method in class com.aliyun.iot.aep.sdk.login.oa.OALoginAdapter.OALoginCallback
 
onFound(LocalDevice) - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.IPAPDiscoveryListener
Deprecated.
当发现设备时触发, 可能会多次触发
onInitFailed(int, String) - Method in interface com.aliyun.iot.aep.sdk.login.oa.OALoginAdapter.OALoginAdapterInitResultCallback
 
onInitSuccess() - Method in interface com.aliyun.iot.aep.sdk.login.oa.OALoginAdapter.OALoginAdapterInitResultCallback
 
onInterceptFailure(IoTRequest, IoTRequestPayload, Exception, IoTCallback) - Method in interface com.aliyun.iot.aep.sdk.apiclient.hook.IoTAPIHook
当失败触发前,触发

可以在失败触发前,实现对失败的预处理

对 error 的预处理完成后,请调用IoTCallback.onFailure(IoTRequest, Exception), API 通道 SDK 会把修改后的 error 返回给 API 调用者
如果对于特定的 error,需要转换为 response,请调用IoTCallback.onResponse(IoTRequest, IoTResponse), API 通道 SDK 会把 response 返回给 API 调用者, 开发者也可以通过这个方式实现失败请求的重试

注意:即使不需要处理当前 error, 也需要调用 IoTCallback.onFailure(IoTRequest, Exception), 否则 API 调用者无法收到失败响应

onInterceptFailure(IoTRequest, IoTRequestPayload, Exception, IoTCallback) - Method in class com.aliyun.iot.aep.sdk.apiclient.hook.IoTAuthProvider
 
onInterceptFailure(IoTRequest, IoTRequestPayload, Exception, IoTCallback) - Method in class com.aliyun.iot.aep.sdk.credential.IoTCredentialProviderImpl
 
onInterceptResponse(IoTRequest, IoTRequestPayload, IoTResponse, IoTCallback) - Method in interface com.aliyun.iot.aep.sdk.apiclient.hook.IoTAPIHook
当响应触发前,触发

可以在响应触发前,实现对响应的预处理

对 response 的预处理完成后,请调用IoTCallback.onResponse(IoTRequest, IoTResponse), API 通道 SDK 会把修改后的 response 返回给 API 调用者
如果 response 的预处理过程中发生异常,或者其他的特定业务需求, 可以调用IoTCallback.onFailure(IoTRequest, Exception)返回一个 Exception, API 通道 SDK 会把这个 Exception 返回给 API 调用者

注意:即使不需要处理当前 response, 也需要调用 IoTCallback.onResponse(IoTRequest, IoTResponse), 否则 API 调用者无法收到响应

onInterceptResponse(IoTRequest, IoTRequestPayload, IoTResponse, IoTCallback) - Method in class com.aliyun.iot.aep.sdk.credential.IoTCredentialProviderImpl
 
onInterceptSend(IoTRequest, IoTRequestPayload, IoTRequestPayloadCallback) - Method in interface com.aliyun.iot.aep.sdk.apiclient.hook.IoTAPIHook
当请求发送前,触发

可以在请求发送前,实现对 payload 的预处理

对 payload 的预处理完成后,请调用 IoTRequestPayloadCallback.onIoTRequestPayloadReady()函数, 通知 API 通道 SDK 预处理完成,API 通道 SDK 收到通知后,会开始通过网络层发送 payload
如果预处理失败,那么可以通过以下两者方式处理:
1.

onInterceptSend(IoTRequest, IoTRequestPayload, IoTRequestPayloadCallback) - Method in class com.aliyun.iot.aep.sdk.credential.IoTCredentialProviderImpl
 
onIoTRequestPayloadReady() - Method in interface com.aliyun.iot.aep.sdk.apiclient.hook.IoTRequestPayloadCallback
请求数据封装成功后调用
onLeScan(BreezeDeviceDescriptor, int, byte[]) - Method in interface com.aliyun.iot.breeze.api.IBreeze.LeScanCallBack
当扫描到设备时触发
online(ISubDeviceActionListener) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceChannel
子设备上线
ONLINE - Static variable in class com.aliyun.alink.linksdk.tmp.api.TmpInitConfig
线上环境 开发者建议使用
onLocalDeviceFound(DeviceInfo) - Method in interface com.aliyun.alink.business.devicecenter.api.discovery.IDiscoveryListener
Deprecated.
当发现当前 WiFi 下已配网设备时触发。
onLoginFailed(int, String) - Method in interface com.aliyun.iot.aep.sdk.login.ILoginCallback
登录失败
onLoginStatusChange() - Method in interface com.aliyun.iot.aep.sdk.login.ILoginStatusChangeListener
登录状态有变化回调
onLoginSuccess() - Method in interface com.aliyun.iot.aep.sdk.login.ILoginCallback
登录成功
onLogoutFailed(int, String) - Method in interface com.aliyun.iot.aep.sdk.login.ILogoutCallback
登出失败
onLogoutSuccess() - Method in interface com.aliyun.iot.aep.sdk.login.ILogoutCallback
登出成功
onlyOnceServiceListener - Variable in class com.aliyun.alink.linksdk.tmp.service.DevService.breezeSubDevLoginCallback
 
OnlyOnceServiceListener(DevService.ServiceListener) - Constructor for class com.aliyun.alink.linksdk.tmp.service.DevService.OnlyOnceServiceListener
 
onLySupportZero() - Method in class com.aliyun.alink.business.devicecenter.api.add.AwssVersion
是否只支持零配。
onMessage(String, String, OutputParams) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IEventListener
当事件触发时被调用
onMessage(byte[]) - Method in interface com.aliyun.iot.breeze.api.IBreezeDevice.OnMessageCallback
当设备有新数据主动上报时触发
onMsg(String, String, Object, IProvisionResponser) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IProvisionListener
配置消息回调接口
onNotify(String, String, Object) - Method in interface com.aliyun.alink.linksdk.tmp.device.panel.listener.IPanelEventCallback
设备事件触发回调函数
当设备有事件需要通知时被触发
onOpError(int, String) - Method in interface com.aliyun.iot.ble.IChannel.OperationCallback
操作失败时触发
onOpSuccess() - Method in interface com.aliyun.iot.ble.IChannel.OperationCallback
操作成功(写数据完成,即数据已经发送到设备且收到ACK)时触发
onPreCheck(boolean, DCErrorCode) - Method in interface com.aliyun.alink.business.devicecenter.api.add.IAddDeviceListener
当 DeviceInfo 校验完成后触发
onProcess(String, Object, ITResResponseCallback) - Method in interface com.aliyun.alink.linksdk.tmp.listener.ITRawDataRequestHandler
处理回调接口
onProcess(String, Object, ITResResponseCallback) - Method in interface com.aliyun.alink.linksdk.tmp.listener.ITResRequestHandler
当资源被请求时触发,需要处理参数,并返回结果
onProvisionedResult(boolean, DeviceInfo, DCErrorCode) - Method in interface com.aliyun.alink.business.devicecenter.api.add.IAddDeviceListener
当配网结束时触发
onProvisioning() - Method in interface com.aliyun.alink.business.devicecenter.api.add.IAddDeviceListener
当开始配网时触发
onProvisionPrepare(int) - Method in interface com.aliyun.alink.business.devicecenter.api.add.IAddDeviceListener
当需要需输入 SSID 及 passwd信息时触发
本方法触发后,请调用 IAddDeviceBiz.toggleProvision(String, String, int) 设置 SSID 及 passwd 。
onProvisionStatus(ProvisionStatus) - Method in interface com.aliyun.alink.business.devicecenter.api.add.IAddDeviceListener
当配网状态发生变化时触发
如 二维码准备完成 等
onRawFailure(IoTRequestWrapper, Exception) - Method in interface com.aliyun.iot.aep.sdk.apiclient.tracker.Tracker
IoTHttpClientAdapter 发送请求失败时触发
onRawResponse(IoTRequestWrapper, IoTResponse) - Method in interface com.aliyun.iot.aep.sdk.apiclient.tracker.Tracker
IoTHttpClientAdapter 收到 API 网关响应时,触发
onRealSend(IoTRequestWrapper) - Method in interface com.aliyun.iot.aep.sdk.apiclient.tracker.Tracker
onRefreshFailed() - Method in interface com.aliyun.iot.aep.sdk.login.IRefreshSessionCallback
刷新失败
onRefreshIoTCredentialFailed(IoTCredentialManageError) - Method in interface com.aliyun.iot.aep.sdk.credential.IotCredentialManager.IoTCredentialListener
当刷新IoT用户认证数据失败时触发
onRefreshIoTCredentialSuccess(IoTCredentialData) - Method in interface com.aliyun.iot.aep.sdk.credential.IotCredentialManager.IoTCredentialListener
当刷新IoT用户认证数据成功时触发
onRefreshSuccess() - Method in interface com.aliyun.iot.aep.sdk.login.IRefreshSessionCallback
刷新成功
onResponse(IoTRequest, IoTResponse) - Method in interface com.aliyun.iot.aep.sdk.apiclient.callback.IoTCallback
当收到 API 网关响应时触发
onResponse(IoTRequest, IoTResponse) - Method in interface com.aliyun.iot.aep.sdk.apiclient.tracker.Tracker
当收到 API 网关响应时触发
onResponse(int, byte[]) - Method in interface com.aliyun.iot.breeze.api.IBreezeDevice.ResponseCallback
当设备有回复数据时触发
onResult(List<WiFiModel>) - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.IGetWiFiListListener
Deprecated.
当 WiFi 列表发生变化时触发
设备包分包策略, 可能会回调多次,每次数据都是完整的
onResultComplete(boolean, String) - Method in interface com.aliyun.iot.breeze.api.IAuthCallback.IAuthResultHandler
 
onSend(IoTRequest) - Method in interface com.aliyun.iot.aep.sdk.apiclient.tracker.Tracker
onSucc(DeviceInfo) - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.ISwitchApResultListenr
Deprecated.
当切换 AP 成功的时候触发
onSuccess(String) - Method in interface com.aliyun.alink.business.devicecenter.api.discovery.IOnDeviceTokenGetListener
 
onSuccess(String) - Method in interface com.aliyun.alink.linksdk.channel.core.persistent.IOnSubscribeListener
订阅、取消订阅成功
onSuccess(String) - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.IGatewayRequestListener
请求成功回调
onSuccess() - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceActionListener
成功回调
onSuccess(String) - Method in interface com.aliyun.alink.linksdk.channel.mobile.api.IMobileRequestListener
请求成功回调
onSuccess(Object, OutputParams) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IDevListener
当函数调用返回成功时触发
onSuccess(Object, Object) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IDevRawDataListener
当函数调用返回成功时触发
onSuccess(Object) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IProcessListener
当函数调用返回成功时触发
onSuccess(String, Object) - Method in interface com.aliyun.alink.linksdk.tmp.listener.IPublishResourceListener
资源发布成功回调
onSuccess(OpenAccountSession) - Method in class com.aliyun.iot.aep.sdk.login.oa.OALoginAdapter.OALoginCallback
 
onSuceess() - Method in interface com.aliyun.alink.linksdk.channel.gateway.api.subdevice.ISubDeviceRemoveListener
移除成功回调
onSucess(List<IoTSmart.Country>) - Method in interface com.aliyun.iot.aep.sdk.IoTSmart.ICountryListGetCallBack
获取国家成功
onTimeOut() - Method in interface com.aliyun.alink.business.devicecenter.api.hotspot.HotspotHelper.IGetWiFiListListener
Deprecated.
当搜索超时时触发
超时时间 60 秒
open(boolean, BreezeDeviceDescriptor, IBreeze.ConnectionCallback) - Method in interface com.aliyun.iot.breeze.api.IBreeze
当扫描到一个设备后, 连接到该设备
open(boolean, BreezeDeviceDescriptor, IBreeze.ConnectionCallback, ConnectConfig) - Method in interface com.aliyun.iot.breeze.api.IBreeze
当扫描到一个设备后, 连接到该设备
open(boolean, String, IBreeze.ConnectionCallback) - Method in interface com.aliyun.iot.breeze.api.IBreeze
当扫描到一个设备后, 连接到该设备
open(boolean, String, IBreeze.ConnectionCallback, ConnectConfig) - Method in interface com.aliyun.iot.breeze.api.IBreeze
当扫描到一个设备后, 连接到该设备
openId - Variable in class com.aliyun.iot.aep.sdk.login.data.UserInfo
 
oppoAppKey - Variable in class com.aliyun.iot.aep.sdk.IoTSmart.PushConfig
 
oppoAppSecret - Variable in class com.aliyun.iot.aep.sdk.IoTSmart.PushConfig
 
OutputParams - Class in com.aliyun.alink.linksdk.tmp.api
map结构的出参结构
OutputParams() - Constructor for class com.aliyun.alink.linksdk.tmp.api.OutputParams
默认构造函数
OutputParams(Map<String, ValueWrapper>) - Constructor for class com.aliyun.alink.linksdk.tmp.api.OutputParams
构造函数
OutputParams(String, ValueWrapper) - Constructor for class com.aliyun.alink.linksdk.tmp.api.OutputParams
构造函数
A B C D E F G H I K L M N O P R S T U V W X Z 
Skip navigation links