Table of Contents

Class MbmsDownloadSession

Namespace
Android.Telephony
Assembly
MASES.Netdroid.dll
public class MbmsDownloadSession : AutoCloseable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
MbmsDownloadSession
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

MbmsDownloadSession()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

public MbmsDownloadSession()

MbmsDownloadSession(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

public MbmsDownloadSession(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DEFAULT_TOP_LEVEL_TEMP_DIRECTORY

public static String DEFAULT_TOP_LEVEL_TEMP_DIRECTORY { get; }

Property Value

String

EXTRA_MBMS_COMPLETED_FILE_URI

public static String EXTRA_MBMS_COMPLETED_FILE_URI { get; }

Property Value

String

EXTRA_MBMS_DOWNLOAD_REQUEST

public static String EXTRA_MBMS_DOWNLOAD_REQUEST { get; }

Property Value

String

EXTRA_MBMS_DOWNLOAD_RESULT

public static String EXTRA_MBMS_DOWNLOAD_RESULT { get; }

Property Value

String

EXTRA_MBMS_FILE_INFO

public static String EXTRA_MBMS_FILE_INFO { get; }

Property Value

String

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

RESULT_CANCELLED

public static int RESULT_CANCELLED { get; }

Property Value

int

RESULT_DOWNLOAD_FAILURE

public static int RESULT_DOWNLOAD_FAILURE { get; }

Property Value

int

RESULT_EXPIRED

public static int RESULT_EXPIRED { get; }

Property Value

int

RESULT_FILE_ROOT_UNREACHABLE

public static int RESULT_FILE_ROOT_UNREACHABLE { get; }

Property Value

int

RESULT_IO_ERROR

public static int RESULT_IO_ERROR { get; }

Property Value

int

RESULT_OUT_OF_STORAGE

public static int RESULT_OUT_OF_STORAGE { get; }

Property Value

int

RESULT_SERVICE_ID_NOT_DEFINED

public static int RESULT_SERVICE_ID_NOT_DEFINED { get; }

Property Value

int

RESULT_SUCCESSFUL

public static int RESULT_SUCCESSFUL { get; }

Property Value

int

STATUS_ACTIVELY_DOWNLOADING

public static int STATUS_ACTIVELY_DOWNLOADING { get; }

Property Value

int

STATUS_PENDING_DOWNLOAD

public static int STATUS_PENDING_DOWNLOAD { get; }

Property Value

int

STATUS_PENDING_DOWNLOAD_WINDOW

public static int STATUS_PENDING_DOWNLOAD_WINDOW { get; }

Property Value

int

STATUS_PENDING_REPAIR

public static int STATUS_PENDING_REPAIR { get; }

Property Value

int

STATUS_UNKNOWN

public static int STATUS_UNKNOWN { get; }

Property Value

int

Methods

AddProgressListener(DownloadRequest, Executor, DownloadProgressListener)

public void AddProgressListener(DownloadRequest arg0, Executor arg1, DownloadProgressListener arg2)

Parameters

arg0 DownloadRequest

DownloadRequest

arg1 Executor

Executor

arg2 DownloadProgressListener

DownloadProgressListener

AddServiceAnnouncement(byte[])

public void AddServiceAnnouncement(byte[] arg0)

Parameters

arg0 byte[]

byte

AddStatusListener(DownloadRequest, Executor, DownloadStatusListener)

public void AddStatusListener(DownloadRequest arg0, Executor arg1, DownloadStatusListener arg2)

Parameters

arg0 DownloadRequest

DownloadRequest

arg1 Executor

Executor

arg2 DownloadStatusListener

DownloadStatusListener

CancelDownload(DownloadRequest)

public void CancelDownload(DownloadRequest arg0)

Parameters

arg0 DownloadRequest

DownloadRequest

Close()

public void Close()

Create(Context, Executor, MbmsDownloadSessionCallback)

public static MbmsDownloadSession Create(Context arg0, Executor arg1, MbmsDownloadSessionCallback arg2)

Parameters

arg0 Context

Context

arg1 Executor

Executor

arg2 MbmsDownloadSessionCallback

MbmsDownloadSessionCallback

Returns

MbmsDownloadSession

MbmsDownloadSession

Create(Context, Executor, int, MbmsDownloadSessionCallback)

public static MbmsDownloadSession Create(Context arg0, Executor arg1, int arg2, MbmsDownloadSessionCallback arg3)

Parameters

arg0 Context

Context

arg1 Executor

Executor

arg2 int

int

arg3 MbmsDownloadSessionCallback

MbmsDownloadSessionCallback

Returns

MbmsDownloadSession

MbmsDownloadSession

Download(DownloadRequest)

public void Download(DownloadRequest arg0)

Parameters

arg0 DownloadRequest

DownloadRequest

GetMaximumServiceAnnouncementSize()

public static int GetMaximumServiceAnnouncementSize()

Returns

int

int

GetTempFileRootDirectory()

public File GetTempFileRootDirectory()

Returns

File

File

ListPendingDownloads()

public List<DownloadRequest> ListPendingDownloads()

Returns

List<DownloadRequest>

List

RemoveProgressListener(DownloadRequest, DownloadProgressListener)

public void RemoveProgressListener(DownloadRequest arg0, DownloadProgressListener arg1)

Parameters

arg0 DownloadRequest

DownloadRequest

arg1 DownloadProgressListener

DownloadProgressListener

RemoveStatusListener(DownloadRequest, DownloadStatusListener)

public void RemoveStatusListener(DownloadRequest arg0, DownloadStatusListener arg1)

Parameters

arg0 DownloadRequest

DownloadRequest

arg1 DownloadStatusListener

DownloadStatusListener

RequestDownloadState(DownloadRequest, FileInfo)

public void RequestDownloadState(DownloadRequest arg0, FileInfo arg1)

Parameters

arg0 DownloadRequest

DownloadRequest

arg1 FileInfo

FileInfo

RequestUpdateFileServices(List<String>)

public void RequestUpdateFileServices(List<String> arg0)

Parameters

arg0 List<String>

List

ResetDownloadKnowledge(DownloadRequest)

public void ResetDownloadKnowledge(DownloadRequest arg0)

Parameters

arg0 DownloadRequest

DownloadRequest

SetTempFileRootDirectory(File)

public void SetTempFileRootDirectory(File arg0)

Parameters

arg0 File

File