Språk

DownloadRequest.Builder.SetAppIntent(Intent) Method

Definition

Set the Intent that should be sent when the download completes or fails.

[Android.Runtime.Register("setAppIntent", "(Landroid/content/Intent;)Landroid/telephony/mbms/DownloadRequest$Builder;", "GetSetAppIntent_Landroid_content_Intent_Handler", ApiSince=28)]
public virtual Android.Telephony.Mbms.DownloadRequest.Builder? SetAppIntent(Android.Content.Intent? intent);
[<Android.Runtime.Register("setAppIntent", "(Landroid/content/Intent;)Landroid/telephony/mbms/DownloadRequest$Builder;", "GetSetAppIntent_Landroid_content_Intent_Handler", ApiSince=28)>]
abstract member SetAppIntent : Android.Content.Intent -> Android.Telephony.Mbms.DownloadRequest.Builder
override this.SetAppIntent : Android.Content.Intent -> Android.Telephony.Mbms.DownloadRequest.Builder

Parameters

intent
Intent

The explicit broadcast intent to send to the app when the download completes or fails.

Returns

This builder.

Attributes

Remarks

Set the Intent that should be sent when the download completes or fails. This should be an intent with a explicit ComponentName targeted to a BroadcastReceiver in the app's package. The middleware should not use this method.

Android reference for android.telephony.mbms.DownloadRequest.Builder.setAppIntent.

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