dlt.getSdkVersion
Introduction
The dlt.getSdkVersion
function is used to retrieve the system library version.
Parameters
Object object
Property | Type | Default | Required | Description |
---|---|---|---|---|
success | function | No | Callback function for a successful call. | |
fail | function | No | Callback function for a failed call. | |
complete | function | No | Callback function for the call's completion (executed for both successful and failed calls). |
object.success Callback Function
Parameters
Object res
Property | Type | Description |
---|---|---|
SDKVersion | String | "0.1.0" |
Sample Code
dlt.getSdkVersion({
success(res) {
console.log(res.SDKVersion);
},
});