Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Declaration
public static IApplicationStartInfo[] GetHistoricalProcessStartReasons(int maxNum);
Parameters
| Parameter |
Description |
| maxNum |
The maximum number of results to be returned. Set this to 0 to ignore this parameter and return all matching records. |
Returns
IApplicationStartInfo[]
An array of IApplicationStartInfo records matching the criteria, sorted in the order from most recent to least recent.
Description
Returns a list of ApplicationStartInfo records containing the reasons for the most recent app starts.
For more information, refer to Android's documentation on getHistoricalProcessStartReasons.
Available on Android API 35+. Returns an empty array on earlier versions.