Table of Contents

Class MbmsDownloadSession

Namespace
Android.Telephony
Assembly
MASES.Netdroid.dll
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

initializer IJVMBridgeBaseInitializer

Properties

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

DEFAULT_TOP_LEVEL_TEMP_DIRECTORY

public static String DEFAULT_TOP_LEVEL_TEMP_DIRECTORY { get; set; }

Property Value

String

EXTRA_MBMS_COMPLETED_FILE_URI

public static String EXTRA_MBMS_COMPLETED_FILE_URI { get; set; }

Property Value

String

EXTRA_MBMS_DOWNLOAD_REQUEST

public static String EXTRA_MBMS_DOWNLOAD_REQUEST { get; set; }

Property Value

String

EXTRA_MBMS_DOWNLOAD_RESULT

public static String EXTRA_MBMS_DOWNLOAD_RESULT { get; set; }

Property Value

String

EXTRA_MBMS_FILE_INFO

public static String EXTRA_MBMS_FILE_INFO { get; set; }

Property Value

String

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

RESULT_CANCELLED

public static int RESULT_CANCELLED { get; set; }

Property Value

int

RESULT_DOWNLOAD_FAILURE

public static int RESULT_DOWNLOAD_FAILURE { get; set; }

Property Value

int

RESULT_EXPIRED

public static int RESULT_EXPIRED { get; set; }

Property Value

int

RESULT_FILE_ROOT_UNREACHABLE

public static int RESULT_FILE_ROOT_UNREACHABLE { get; set; }

Property Value

int

RESULT_IO_ERROR

public static int RESULT_IO_ERROR { get; set; }

Property Value

int

RESULT_OUT_OF_STORAGE

public static int RESULT_OUT_OF_STORAGE { get; set; }

Property Value

int

RESULT_SERVICE_ID_NOT_DEFINED

public static int RESULT_SERVICE_ID_NOT_DEFINED { get; set; }

Property Value

int

RESULT_SUCCESSFUL

public static int RESULT_SUCCESSFUL { get; set; }

Property Value

int

STATUS_ACTIVELY_DOWNLOADING

public static int STATUS_ACTIVELY_DOWNLOADING { get; set; }

Property Value

int

STATUS_PENDING_DOWNLOAD

public static int STATUS_PENDING_DOWNLOAD { get; set; }

Property Value

int

STATUS_PENDING_DOWNLOAD_WINDOW

public static int STATUS_PENDING_DOWNLOAD_WINDOW { get; set; }

Property Value

int

STATUS_PENDING_REPAIR

public static int STATUS_PENDING_REPAIR { get; set; }

Property Value

int

STATUS_UNKNOWN

public static int STATUS_UNKNOWN { get; set; }

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