Language

JobInfo.Builder.SetTriggerContentUpdateDelay(Int64) Method

Definition

Set the delay used to batch content changes.

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

Parameters

durationMs
Int64

The requested delay after the most recent content change, in milliseconds. A negative value selects the default.

Returns

This builder instance.

Attributes

Remarks

The delay is reset when another change is detected. The platform applies a minimum delay, and the maximum batching delay or a large number of changes can cause the content trigger to be satisfied sooner. Other job constraints can still delay execution.

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

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