MbmsDownloadSession.CancelDownload(DownloadRequest) 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.
Attempts to cancel the specified DownloadRequest
.
[Android.Runtime.Register("cancelDownload", "(Landroid/telephony/mbms/DownloadRequest;)V", "GetCancelDownload_Landroid_telephony_mbms_DownloadRequest_Handler", ApiSince=28)]
public virtual void CancelDownload (Android.Telephony.Mbms.DownloadRequest downloadRequest);
[<Android.Runtime.Register("cancelDownload", "(Landroid/telephony/mbms/DownloadRequest;)V", "GetCancelDownload_Landroid_telephony_mbms_DownloadRequest_Handler", ApiSince=28)>]
abstract member CancelDownload : Android.Telephony.Mbms.DownloadRequest -> unit
override this.CancelDownload : Android.Telephony.Mbms.DownloadRequest -> unit
Parameters
- downloadRequest
- DownloadRequest
The download request that you wish to cancel.
- Attributes
Remarks
Attempts to cancel the specified DownloadRequest
.
If the operation encountered an error, the error code will be delivered via MbmsDownloadSessionCallback#onError
.
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.