LKOTAState Constants Reference

Declared in LKLinkOtaBusiness.h

LKOTAState

OTA 流转过程各个状态枚举

Definition

typedef NS_ENUM(NSInteger, LKOTAState ) {
   LKOTAStateStart = 0,
   LKOTAStateChecking = 1,
   LKOTAStateDownloading = 2,
   LKOTAStateTransmitting = 3,
   LKOTAStateRebooting = 4,
   LKOTAStateSuccess = 5,
   LKOTAStateFailed = 6,
};

Constants

LKOTAStateStart

初始状态

Declared In LKLinkOtaBusiness.h.

LKOTAStateChecking

预检查状态

Declared In LKLinkOtaBusiness.h.

LKOTAStateDownloading

下载升级包状态

Declared In LKLinkOtaBusiness.h.

LKOTAStateTransmitting

向设备传输升级包状态,Wifi 设备没有此状态

Declared In LKLinkOtaBusiness.h.

LKOTAStateRebooting

设备进入重启升级

Declared In LKLinkOtaBusiness.h.

LKOTAStateSuccess

升级完成,成功

Declared In LKLinkOtaBusiness.h.

LKOTAStateFailed

升级结束,失败

Declared In LKLinkOtaBusiness.h.

Declared In

LKLinkOtaBusiness.h