JobWorkItem.Builder.SetIntent(Intent) 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.
Set an intent with information relevant to this work item.
[Android.Runtime.Register("setIntent", "(Landroid/content/Intent;)Landroid/app/job/JobWorkItem$Builder;", "", ApiSince=34)]
public Android.App.Job.JobWorkItem.Builder SetIntent(Android.Content.Intent intent);
[<Android.Runtime.Register("setIntent", "(Landroid/content/Intent;)Landroid/app/job/JobWorkItem$Builder;", "", ApiSince=34)>]
member this.SetIntent : Android.Content.Intent -> Android.App.Job.JobWorkItem.Builder
Parameters
- intent
- Intent
Returns
This object for method chaining. This value cannot be null.
- Attributes
Remarks
Set an intent with information relevant to this work item.
Intents cannot be used for persisted JobWorkItems. Use setExtras(PersistableBundle) instead for persisted JobWorkItems.
Android reference for android.app.job.JobWorkItem.Builder.setIntent.
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.