ActivityManager.GetHistoricalProcessStartReasons(Int32) 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.
Return a list of ApplicationStartInfo
records containing the information about the
most recent app startups.
[Android.Runtime.Register("getHistoricalProcessStartReasons", "(I)Ljava/util/List;", "GetGetHistoricalProcessStartReasons_IHandler", ApiSince=35)]
public virtual System.Collections.Generic.IList<Android.App.ApplicationStartInfo> GetHistoricalProcessStartReasons (int maxNum);
[<Android.Runtime.Register("getHistoricalProcessStartReasons", "(I)Ljava/util/List;", "GetGetHistoricalProcessStartReasons_IHandler", ApiSince=35)>]
abstract member GetHistoricalProcessStartReasons : int -> System.Collections.Generic.IList<Android.App.ApplicationStartInfo>
override this.GetHistoricalProcessStartReasons : int -> System.Collections.Generic.IList<Android.App.ApplicationStartInfo>
Parameters
- maxNum
- Int32
The maximum number of results to be returned; a value of 0 means to ignore this parameter and return all matching records. If fewer records exist, all existing records will be returned.
Returns
a list of ApplicationStartInfo
records matching the criteria, sorted in
the order from most recent to least recent.
- Attributes
Remarks
Return a list of ApplicationStartInfo
records containing the information about the most recent app startups.
Note: System stores this historical information in a ring buffer and only the most recent records will be returned.
Java documentation for android.app.ActivityManager.getHistoricalProcessStartReasons(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.