Merge "Add the addServiceAnnouncement API for EMBMS" am: 1ba0bc20b9 am: 7ffc3b9f58
Change-Id: I1d3b203a8782500ed26cc3df8b6dbabb1b4a5d02
This commit is contained in:
@@ -47546,12 +47546,14 @@ package android.telephony {
|
||||
|
||||
public class MbmsDownloadSession implements java.lang.AutoCloseable {
|
||||
method public void addProgressListener(@NonNull android.telephony.mbms.DownloadRequest, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.mbms.DownloadProgressListener);
|
||||
method public void addServiceAnnouncementFile(@NonNull byte[]);
|
||||
method public void addStatusListener(@NonNull android.telephony.mbms.DownloadRequest, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.mbms.DownloadStatusListener);
|
||||
method public void cancelDownload(@NonNull android.telephony.mbms.DownloadRequest);
|
||||
method public void close();
|
||||
method public static android.telephony.MbmsDownloadSession create(@NonNull android.content.Context, @NonNull java.util.concurrent.Executor, @NonNull android.telephony.mbms.MbmsDownloadSessionCallback);
|
||||
method @Nullable public static android.telephony.MbmsDownloadSession create(@NonNull android.content.Context, @NonNull java.util.concurrent.Executor, int, @NonNull android.telephony.mbms.MbmsDownloadSessionCallback);
|
||||
method public void download(@NonNull android.telephony.mbms.DownloadRequest);
|
||||
method public static int getMaximumServiceAnnouncementFileSize();
|
||||
method @Nullable public java.io.File getTempFileRootDirectory();
|
||||
method @NonNull public java.util.List<android.telephony.mbms.DownloadRequest> listPendingDownloads();
|
||||
method public void removeProgressListener(@NonNull android.telephony.mbms.DownloadRequest, @NonNull android.telephony.mbms.DownloadProgressListener);
|
||||
@@ -49163,6 +49165,7 @@ package android.telephony.mbms {
|
||||
|
||||
public static class MbmsErrors.DownloadErrors {
|
||||
field public static final int ERROR_CANNOT_CHANGE_TEMP_FILE_ROOT = 401; // 0x191
|
||||
field public static final int ERROR_MALFORMED_SERVICE_ANNOUNCEMENT_FILE = 404; // 0x194
|
||||
field public static final int ERROR_UNKNOWN_DOWNLOAD_REQUEST = 402; // 0x192
|
||||
field public static final int ERROR_UNKNOWN_FILE_INFO = 403; // 0x193
|
||||
}
|
||||
|
||||
@@ -12434,6 +12434,7 @@ package android.telephony.mbms.vendor {
|
||||
public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface {
|
||||
ctor public MbmsDownloadServiceBase();
|
||||
method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
|
||||
method public int addServiceAnnouncementFile(int, @NonNull byte[]);
|
||||
method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
|
||||
method public android.os.IBinder asBinder();
|
||||
method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
|
||||
|
||||
@@ -4683,6 +4683,7 @@ package android.telephony.mbms.vendor {
|
||||
public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface {
|
||||
ctor public MbmsDownloadServiceBase();
|
||||
method public int addProgressListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadProgressListener) throws android.os.RemoteException;
|
||||
method public int addServiceAnnouncementFile(int, @NonNull byte[]);
|
||||
method public int addStatusListener(android.telephony.mbms.DownloadRequest, android.telephony.mbms.DownloadStatusListener) throws android.os.RemoteException;
|
||||
method public android.os.IBinder asBinder();
|
||||
method public int cancelDownload(android.telephony.mbms.DownloadRequest) throws android.os.RemoteException;
|
||||
|
||||
Reference in New Issue
Block a user