Skip to main content

IOTAUpgradeManager

interface IOTAUpgradeManager

Description: OTA management

method registerProduct

fun registerProduct(pkg_ver : String,  product_model : String,  product_sn :String, needCheck : Boolean = true)

Description: Register product method

Input parameters: pkg_ver: package version product_model: product model name product_sn: product serial number

Output parameters: None。

Related parameters: None。

method registerProducts

fun registerProducts(pkg_ver : String,  product_model : String,  product_sn :String)

Description: Check product method

Input parameters: pkg_ver: package version product_model: product model name product_sn: product serial number

Output parameters: None。

Related parameters: None。

method checkProduct

fun checkProduct(pkg_ver : String,  product_model : String,  product_sn :String)

Description: Check product method

Input parameters: pkg_ver: package version product_model: product model name product_sn: product serial number

Output parameters: None。

Related parameters: None。

method checkApp

fun checkApp(callback : CommonCallbacks.CompletionCallbackWithParam<CheckResponseBean>)

Description: Check app call back response

Input parameters: callback: call back response object

Output parameters: None。

Related parameters: None。