次の方法で共有


MbmsDownloadSession.CancelDownload(DownloadRequest) Method

Definition

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.

Java documentation for android.telephony.MbmsDownloadSession.cancelDownload(android.telephony.mbms.DownloadRequest).

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