MbmsDownloadSession


public class MbmsDownloadSession
extends Object implements AutoCloseable

java.lang.Object
   ↳ android.telephony.MbmsDownloadSession


This class provides functionality for file download over MBMS.

Summary

Constants

String DEFAULT_TOP_LEVEL_TEMP_DIRECTORY

The default directory name for all MBMS temp files.

String EXTRA_MBMS_COMPLETED_FILE_URI

Uri extra that Android will attach to the intent supplied via android.telephony.mbms.DownloadRequest.Builder.setAppIntent(Intent) Indicates the location of the successfully downloaded file within the directory that the app provided via the builder.

String EXTRA_MBMS_DOWNLOAD_REQUEST

Extra containing the DownloadRequest for which the download result or file descriptor request is for.

String EXTRA_MBMS_DOWNLOAD_RESULT

Integer extra that Android will attach to the intent supplied via android.telephony.mbms.DownloadRequest.Builder.setAppIntent(Intent) Indicates the result code of the download.

String EXTRA_MBMS_FILE_INFO

FileInfo extra that Android will attach to the intent supplied via android.telephony.mbms.DownloadRequest.Builder.setAppIntent(Intent) Indicates the file for which the download result is for.

int RESULT_CANCELLED

Indicates that the download was cancelled via cancelDownload(DownloadRequest).

int RESULT_DOWNLOAD_FAILURE

Indicates that there was an error while processing downloaded files, such as a file repair or file decoding error and is not due to a file I/O error.

int RESULT_EXPIRED

Indicates that the download will not be completed due to the expiration of its download