JobInfo.Builder.SetTriggerContentUpdateDelay(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.