Skip to content

UpdateAndroid

Update Android

LCMUpdater

Package : com.denachina.lcm.sdk.update
Class : LCMUpdater

 

Interface / Method / Attribute
Parameters details
Note
String targetAppVersion

 

 get
String downloadUrl

 

 get
boolean canSkip

 

 get
String fileMd5

 

 get
String description get
String targetFilePath get/set

public void download(

ProcessChangeListener processChangeListener

)

processChangeListener
Notify when process changed and error occurred.
We suggest game develop to draw a process bar according to the processChangeListener.

public boolean checkMd5()

 Game develop should use this function when target file is download to ensure the APK is valid.

public void install()

 Call a install intent.
public void

continueProcessing()

 After show update UI, call this to continue.
Back to top