Język

JobInfo.Builder.SetTriggerContentMaxDelay(Int64) Method

Definition

Set the maximum total delay (in milliseconds) that is allowed from the first time a content change is detected until the job is scheduled.

[Android.Runtime.Register("setTriggerContentMaxDelay", "(J)Landroid/app/job/JobInfo$Builder;", "", ApiSince=24)]
public Android.App.Job.JobInfo.Builder? SetTriggerContentMaxDelay(long durationMs);
[<Android.Runtime.Register("setTriggerContentMaxDelay", "(J)Landroid/app/job/JobInfo$Builder;", "", ApiSince=24)>]
member this.SetTriggerContentMaxDelay : int64 -> Android.App.Job.JobInfo.Builder

Parameters

durationMs
Int64

Delay after initial content change, in milliseconds.

Returns

This builder instance.

Attributes

Remarks

Set the maximum total delay (in milliseconds) that is allowed from the first time a content change is detected until the job is scheduled.

Android reference for android.app.job.JobInfo.Builder.setTriggerContentMaxDelay.

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