Class MbmsDownloadSession
public class MbmsDownloadSession : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IAutoCloseable
- Inheritance
-
MbmsDownloadSession
- Implements
- Extension Methods
Constructors
MbmsDownloadSession(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public MbmsDownloadSession(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
DEFAULT_TOP_LEVEL_TEMP_DIRECTORY
public static String DEFAULT_TOP_LEVEL_TEMP_DIRECTORY { get; set; }
Property Value
EXTRA_MBMS_COMPLETED_FILE_URI
public static String EXTRA_MBMS_COMPLETED_FILE_URI { get; set; }
Property Value
EXTRA_MBMS_DOWNLOAD_REQUEST
public static String EXTRA_MBMS_DOWNLOAD_REQUEST { get; set; }
Property Value
EXTRA_MBMS_DOWNLOAD_RESULT
public static String EXTRA_MBMS_DOWNLOAD_RESULT { get; set; }
Property Value
EXTRA_MBMS_FILE_INFO
public static String EXTRA_MBMS_FILE_INFO { get; set; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
RESULT_CANCELLED
public static int RESULT_CANCELLED { get; set; }
Property Value
RESULT_DOWNLOAD_FAILURE
public static int RESULT_DOWNLOAD_FAILURE { get; set; }
Property Value
RESULT_EXPIRED
public static int RESULT_EXPIRED { get; set; }
Property Value
RESULT_FILE_ROOT_UNREACHABLE
public static int RESULT_FILE_ROOT_UNREACHABLE { get; set; }
Property Value
RESULT_IO_ERROR
public static int RESULT_IO_ERROR { get; set; }
Property Value
RESULT_OUT_OF_STORAGE
public static int RESULT_OUT_OF_STORAGE { get; set; }
Property Value
RESULT_SERVICE_ID_NOT_DEFINED
public static int RESULT_SERVICE_ID_NOT_DEFINED { get; set; }
Property Value
RESULT_SUCCESSFUL
https://developer.android.com/reference/android/telephony/MbmsDownloadSession.html#RESULT_SUCCESSFUL
public static int RESULT_SUCCESSFUL { get; set; }
Property Value
STATUS_ACTIVELY_DOWNLOADING
public static int STATUS_ACTIVELY_DOWNLOADING { get; set; }
Property Value
STATUS_PENDING_DOWNLOAD
public static int STATUS_PENDING_DOWNLOAD { get; set; }
Property Value
STATUS_PENDING_DOWNLOAD_WINDOW
public static int STATUS_PENDING_DOWNLOAD_WINDOW { get; set; }
Property Value
STATUS_PENDING_REPAIR
public static int STATUS_PENDING_REPAIR { get; set; }
Property Value
STATUS_UNKNOWN
public static int STATUS_UNKNOWN { get; set; }
Property Value
Methods
AddProgressListener(DownloadRequest, Executor, DownloadProgressListener)
public void AddProgressListener(DownloadRequest arg0, Executor arg1, DownloadProgressListener arg2)
Parameters
arg0DownloadRequestarg1Executorarg2DownloadProgressListener
AddServiceAnnouncement(byte[])
public void AddServiceAnnouncement(byte[] arg0)
Parameters
AddStatusListener(DownloadRequest, Executor, DownloadStatusListener)
public void AddStatusListener(DownloadRequest arg0, Executor arg1, DownloadStatusListener arg2)
Parameters
arg0DownloadRequestarg1Executorarg2DownloadStatusListener
CancelDownload(DownloadRequest)
public void CancelDownload(DownloadRequest arg0)
Parameters
Close()
public void Close()
Create(Context, Executor, MbmsDownloadSessionCallback)
public static MbmsDownloadSession Create(Context arg0, Executor arg1, MbmsDownloadSessionCallback arg2)
Parameters
arg0Contextarg1Executorarg2MbmsDownloadSessionCallback
Returns
Create(Context, Executor, int, MbmsDownloadSessionCallback)
public static MbmsDownloadSession Create(Context arg0, Executor arg1, int arg2, MbmsDownloadSessionCallback arg3)
Parameters
arg0Contextarg1Executorarg2intarg3MbmsDownloadSessionCallback
Returns
Download(DownloadRequest)
public void Download(DownloadRequest arg0)
Parameters
GetMaximumServiceAnnouncementSize()
public static int GetMaximumServiceAnnouncementSize()
Returns
GetTempFileRootDirectory()
public File GetTempFileRootDirectory()
Returns
ListPendingDownloads()
public List<DownloadRequest> ListPendingDownloads()
Returns
RemoveProgressListener(DownloadRequest, DownloadProgressListener)
public void RemoveProgressListener(DownloadRequest arg0, DownloadProgressListener arg1)
Parameters
RemoveStatusListener(DownloadRequest, DownloadStatusListener)
public void RemoveStatusListener(DownloadRequest arg0, DownloadStatusListener arg1)
Parameters
RequestDownloadState(DownloadRequest, FileInfo)
public void RequestDownloadState(DownloadRequest arg0, FileInfo arg1)
Parameters
arg0DownloadRequestarg1FileInfo
RequestUpdateFileServices(List<String>)
public void RequestUpdateFileServices(List<String> arg0)
Parameters
ResetDownloadKnowledge(DownloadRequest)
public void ResetDownloadKnowledge(DownloadRequest arg0)
Parameters
SetTempFileRootDirectory(File)
public void SetTempFileRootDirectory(File arg0)