Language

JobInfo.Builder.SetTriggerContentMaxDelay(Int64) Method

Definition

Set the maximum delay used to batch content changes.

[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

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

Returns

This builder instance.

Attributes

Remarks

Set the maximum delay used to batch content changes after the first change. The platform applies a minimum delay. When the trigger is satisfied, other job constraints can still delay execution.

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