ILKAddDeviceNotifier Protocol Reference

Conforms to NSObject
Declared in IMLAddDeviceBiz.h

Overview

UI层通知者,向UI层发送事件,同步当前添加设备流转状态

– notifyPrecheck:withError: required method

配网预检查配网结果回调

- (void)notifyPrecheck:(BOOL)success withError:(NSError *)err

Parameters

success

预检查是否成功

err

预检查错误信息

Discussion

配网预检查配网结果回调

Declared In

IMLAddDeviceBiz.h

– notifyProvisionPrepare: required method

通知上层 UI:配网准备–如进入输入密码页面输入 ssid 和 password,密码输入后,调用 toggleProvision 开始配网

- (void)notifyProvisionPrepare:(LKPUserGuideCode)guideCode

Parameters

guideCode

配网准备引导页

Discussion

通知上层 UI:配网准备–如进入输入密码页面输入 ssid 和 password,密码输入后,调用 toggleProvision 开始配网

Declared In

IMLAddDeviceBiz.h

– notifyProvisioning required method

通知上层UI:正在进行配网

- (void)notifyProvisioning

Discussion

通知上层UI:正在进行配网

Declared In

IMLAddDeviceBiz.h

– notifyProvisionStatus:boolSuccess: required method

通知上层UI:配网过程各阶段的状态

- (void)notifyProvisionStatus:(LKProvisonStatus)provisionStatus boolSuccess:(BOOL)boolSuccess

Parameters

provisionStatus

配网状态(各个阶段)

boolSuccess

该阶段性状态的值(成功或者失败)

Discussion

通知上层UI:配网过程各阶段的状态

Declared In

IMLAddDeviceBiz.h

– notifyProvisionResult:withProvisionError: required method

通知上层UI:配网完成结果回调

- (void)notifyProvisionResult:(IMLCandDeviceModel *)candDeviceModel withProvisionError:(NSError *)provisionError

Parameters

candDeviceModel

配网结果设备信息返回:配网失败时为 nil

provisionError

错误信息

Discussion

通知上层UI:配网完成结果回调

Declared In

IMLAddDeviceBiz.h