JobInfo.Builder.SetTriggerContentMaxDelay(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 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.