MbmsDownloadSession.AddStatusListener(DownloadRequest, IExecutor, DownloadStatusListener) Method

Definition

Registers a download status listener for a DownloadRequest previously requested via #download(DownloadRequest).

[Android.Runtime.Register("addStatusListener", "(Landroid/telephony/mbms/DownloadRequest;Ljava/util/concurrent/Executor;Landroid/telephony/mbms/DownloadStatusListener;)V", "GetAddStatusListener_Landroid_telephony_mbms_DownloadRequest_Ljava_util_concurrent_Executor_Landroid_telephony_mbms_DownloadStatusListener_Handler", ApiSince=28)]
public virtual void AddStatusListener (Android.Telephony.Mbms.DownloadRequest request, Java.Util.Concurrent.IExecutor executor, Android.Telephony.Mbms.DownloadStatusListener listener);
[<Android.Runtime.Register("addStatusListener", "(Landroid/telephony/mbms/DownloadRequest;Ljava/util/concurrent/Executor;Landroid/telephony/mbms/DownloadStatusListener;)V", "GetAddStatusListener_Landroid_telephony_mbms_DownloadRequest_Ljava_util_concurrent_Executor_Landroid_telephony_mbms_DownloadStatusListener_Handler", ApiSince=28)>]
abstract member AddStatusListener : Android.Telephony.Mbms.DownloadRequest * Java.Util.Concurrent.IExecutor * Android.Telephony.Mbms.DownloadStatusListener -> unit
override this.AddStatusListener : Android.Telephony.Mbms.DownloadRequest * Java.Util.Concurrent.IExecutor * Android.Telephony.Mbms.DownloadStatusListener -> unit

Parameters

request
DownloadRequest

The DownloadRequest that you want updates on.

executor
IExecutor

The Executor on which calls to listener should be executed.

listener
DownloadStatusListener

The listener that should be called when the middleware has information to share on the status download.

Attributes

Remarks

Java documentation for android.telephony.MbmsDownloadSession.addStatusListener(android.telephony.mbms.DownloadRequest, java.util.concurrent.Executor, android.telephony.mbms.DownloadStatusListener).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to