public static interface CapabilityStorageControl.DownloadSegmentListener extends Listener
| Modifier and Type | Method and Description |
|---|---|
void |
onDownloadComplete(java.lang.String downloadDirectory,
int status)
A function to listen the download of all segments or if any error occurred.
|
void |
onDownloadSegment(java.lang.String filePath,
long segmentId,
int status)
A function to listen the download of single segment.
|
void onDownloadSegment(java.lang.String filePath,
long segmentId,
int status)
filePath - path of saved segment.segmentId - segmentId of the downloaded segment.status - status from CapabilityStorageControl.SegmentDownloadStatus.void onDownloadComplete(java.lang.String downloadDirectory,
int status)
downloadDirectory - path of saved segments.status - status from CapabilityStorageControl.SegmentDownloadStatus.