HomeDocs
Skip to main content

dlt.getSdkVersion

Introduction​

The dlt.getSdkVersion function is used to retrieve the system library version.

Parameters​

Object object​

PropertyTypeDefaultRequiredDescription
successfunctionNoCallback function for a successful call.
failfunctionNoCallback function for a failed call.
completefunctionNoCallback function for the call's completion (executed for both successful and failed calls).

object.success Callback Function​

Parameters​

Object res​

PropertyTypeDescription
SDKVersionString"0.1.0"

Sample Code​

dlt.getSdkVersion({
success(res) {
console.log(res.SDKVersion);
},
});
Privacy agreementDeveloper agreementcontact us: developer_private.mi@dlightek.com © 2024 MiniApp. All Rights Reserved.