Version: 2023.2

ApplicationExitInfoProvider.GetHistoricalProcessExitInfo

切换到手册
public static IApplicationExitInfo[] GetHistoricalProcessExitInfo (string packageName, int pid, int maxNum);

参数

packageName Application package name
pid Process ID
maxNum Maximum number of records to return

返回

IApplicationExitInfo[] An array of ApplicationExitInfo records sorted by date.

描述

Gets records of application terminations including the reasons for the most recent terminations.

Mirrors android:android.app.ApplicationExitInfo gethistoricalprocessexitreasons() method. For more information, refer to Android's documentation on getHistoricalProcessExitReasons method.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961