次の方法で共有


PerformanceHintManager.Session.UpdateTargetWorkDuration(Int64) Method

Definition

Updates this session's target duration for each cycle of work.

[Android.Runtime.Register("updateTargetWorkDuration", "(J)V", "GetUpdateTargetWorkDuration_JHandler", ApiSince=31)]
public virtual void UpdateTargetWorkDuration (long targetDurationNanos);
[<Android.Runtime.Register("updateTargetWorkDuration", "(J)V", "GetUpdateTargetWorkDuration_JHandler", ApiSince=31)>]
abstract member UpdateTargetWorkDuration : int64 -> unit
override this.UpdateTargetWorkDuration : int64 -> unit

Parameters

targetDurationNanos
Int64

the new desired duration in nanoseconds

Attributes

Remarks

Updates this session's target duration for each cycle of work.

Java documentation for android.os.PerformanceHintManager.Session.updateTargetWorkDuration(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