Udostępnij za pośrednictwem


AsyncTaskLoader.SetUpdateThrottle(Int64) Method

Definition

Set amount to throttle updates by.

[Android.Runtime.Register("setUpdateThrottle", "(J)V", "GetSetUpdateThrottle_JHandler")]
public virtual void SetUpdateThrottle (long delayMS);
[<Android.Runtime.Register("setUpdateThrottle", "(J)V", "GetSetUpdateThrottle_JHandler")>]
abstract member SetUpdateThrottle : int64 -> unit
override this.SetUpdateThrottle : int64 -> unit

Parameters

delayMS
Int64

Amount of delay, in milliseconds.

Attributes

Remarks

Set amount to throttle updates by. This is the minimum time from when the last #loadInBackground() call has completed until a new load is scheduled.

Java documentation for android.content.AsyncTaskLoader.setUpdateThrottle(long).

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