語言

AnrTypes.AnrTypeExecuteService 欄位

定義

警告

This constant will be removed in the future version. Use Android.App.AnrType enum directly instead of this field.

App 的服務花了太久才完成 OnCreate() ,而且 OnStartCommand(Intent, StartCommandFlags, Int32) / OnBind(Intent)

[Android.Runtime.Register("ANR_TYPE_EXECUTE_SERVICE", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AnrType enum directly instead of this field.", true)]
public const Android.App.AnrType AnrTypeExecuteService = 5;
[<Android.Runtime.Register("ANR_TYPE_EXECUTE_SERVICE", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AnrType enum directly instead of this field.", true)>]
val mutable AnrTypeExecuteService : Android.App.AnrType

欄位值

Value = 5
屬性

備註

應用程式的服務完成 Service.onCreate 和 Service.onStartCommand / Service.onBind 太慢了

Android 參考資料。android.app.AnrTypes.ANR_TYPE_EXECUTE_SERVICE

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於