MbmsDownloadSession.AddProgressListener(DownloadRequest, IExecutor, DownloadProgressListener) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers a progress listener for a DownloadRequest previously requested via
#download(DownloadRequest).
[Android.Runtime.Register("addProgressListener", "(Landroid/telephony/mbms/DownloadRequest;Ljava/util/concurrent/Executor;Landroid/telephony/mbms/DownloadProgressListener;)V", "GetAddProgressListener_Landroid_telephony_mbms_DownloadRequest_Ljava_util_concurrent_Executor_Landroid_telephony_mbms_DownloadProgressListener_Handler", ApiSince=28)]
public virtual void AddProgressListener (Android.Telephony.Mbms.DownloadRequest request, Java.Util.Concurrent.IExecutor executor, Android.Telephony.Mbms.DownloadProgressListener listener);
[<Android.Runtime.Register("addProgressListener", "(Landroid/telephony/mbms/DownloadRequest;Ljava/util/concurrent/Executor;Landroid/telephony/mbms/DownloadProgressListener;)V", "GetAddProgressListener_Landroid_telephony_mbms_DownloadRequest_Ljava_util_concurrent_Executor_Landroid_telephony_mbms_DownloadProgressListener_Handler", ApiSince=28)>]
abstract member AddProgressListener : Android.Telephony.Mbms.DownloadRequest * Java.Util.Concurrent.IExecutor * Android.Telephony.Mbms.DownloadProgressListener -> unit
override this.AddProgressListener : Android.Telephony.Mbms.DownloadRequest * Java.Util.Concurrent.IExecutor * Android.Telephony.Mbms.DownloadProgressListener -> unit
Parameters
- request
- DownloadRequest
The DownloadRequest that you want updates on.
- executor
- IExecutor
The Executor on which calls to listener should be executed.
- listener
- DownloadProgressListener
The listener that should be called when the middleware has information to share on the progress of the download.
- Attributes
Remarks
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.