Język

JobInfo.Builder.SetExtras(PersistableBundle) Method

Definition

Set optional extras.

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

Parameters

extras
PersistableBundle

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

Returns

This builder instance.

Attributes

Remarks

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

Android reference for android.app.job.JobInfo.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