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 (in milliseconds) from when a content change is detected until the job is scheduled.
[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
Delay after most recent content change, in milliseconds.
Returns
This builder instance.
- Attributes
Remarks
Set the delay (in milliseconds) from when a content change is detected until the job is scheduled. If there are more changes during that time, the delay will be reset to start at the time of the most recent change.
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.