Language

JobWorkItem.Builder.SetExtras(PersistableBundle) Method

Definition

Set optional extras.

[Android.Runtime.Register("setExtras", "(Landroid/os/PersistableBundle;)Landroid/app/job/JobWorkItem$Builder;", "", ApiSince=34)]
public Android.App.Job.JobWorkItem.Builder SetExtras(Android.OS.PersistableBundle extras);
[<Android.Runtime.Register("setExtras", "(Landroid/os/PersistableBundle;)Landroid/app/job/JobWorkItem$Builder;", "", ApiSince=34)>]
member this.SetExtras : Android.OS.PersistableBundle -> Android.App.Job.JobWorkItem.Builder

Parameters

extras
PersistableBundle

Bundle containing extras you want the scheduler to hold on to for you. This value cannot be null.

Returns

This object for method chaining. This value cannot be null.

Attributes

Remarks

Set optional extras. This can be persisted, so we only allow primitive types.

Android reference for android.app.job.JobWorkItem.Builder.setExtras.

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