Partager via


PerformanceHintManager.Session.SetThreads(Int32[]) Method

Definition

Set a list of threads to the performance hint session.

[Android.Runtime.Register("setThreads", "([I)V", "GetSetThreads_arrayIHandler", ApiSince=34)]
public virtual void SetThreads (int[] tids);
[<Android.Runtime.Register("setThreads", "([I)V", "GetSetThreads_arrayIHandler", ApiSince=34)>]
abstract member SetThreads : int[] -> unit
override this.SetThreads : int[] -> unit

Parameters

tids
Int32[]

The list of threads to be associated with this session. They must be part of this app's thread group.

Attributes

Remarks

Set a list of threads to the performance hint session. This operation will replace the current list of threads with the given list of threads. Note that this is not an oneway method.

Java documentation for android.os.PerformanceHintManager.Session.setThreads(int[]).

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