async Download
fun asyncDownload(listener: ProgressListener, savePolicy: GemSdk.EDataSavePolicy = GemSdk.EDataSavePolicy.UseDefault, allowChargedNetworks: Boolean = true): Int
Asynchronous start/resume the download of the content store product content.
Parameters
listener
Object that implements notification events associated with this operation. Cannot be empty.
save Policy
Specify where the download will be made. Optional.
allow Charged Networks
Flag whether to allow charged networks - defaults to true if not specified.
See also
for more information.
fun asyncDownload(savePolicy: GemSdk.EDataSavePolicy = GemSdk.EDataSavePolicy.UseDefault, allowChargedNetworks: Boolean = true, onStarted: OnStarted? = null, onProgress: OnProgress? = null, onCompleted: OnCompleted? = null, onStatusChanged: OnStatusChanged? = null): Int
Asynchronous start/resume the download of the content store product content.
Return
GemError.NoError on success
Parameters
save Policy
Specify where the download will be made. Optional.
allow Charged Networks
Flag whether to allow charged networks - defaults to true if not specified.
on Started
On started trigger.
on Progress
On progress trigger.
on Completed
On started trigger.
on Status Changed
On status changed trigger.