my.clearLocalData

clear all local data

Sample Code

copy
 my.call('clearLocalData', ()=>{
      my.alert({
        title: 'Successful clearLocalData',
      });
    })

Parameters

N/A

Success Callback Function

The incoming parameter is of the Object type with the following attributes:

Property

Type

Required

Description

resultCode

Number

Yes

0: success

1002: internal error

resultMessage

String

Yes