Language

ProfilingTrigger.TriggerTypeColdStart フィールド

定義

注意事項

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

トリガーは、アプリのコールド スタート時にできるだけ早く発生します。

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

フィールド値

Value = 10
属性

注釈

トリガーは、アプリのコールド スタート時にできるだけ早く発生します。

これは、ApplicationStartInfo.getStartType() の開始型がApplicationStartInfo.START_TYPE_COLD場合に発生します。

システムは、このトリガーに応答して、新しく開始されたシステム トレースとスタック サンプリング プロファイルを提供します。 プロファイリングは、アプリが Activity.reportFullyDrawn() を呼び出すまで続行されます。それ以外の場合は、既定の 5 秒後に停止します。

システムは、このトリガーに破棄バッファーを使用します。 つまり、バッファーがいっぱいになると、新しいイベントは破棄されます。 これにより、使用可能な最も古いトレースポイントが常に保持されます。

注: ProfilingManager.requestProfiling を使用する場合と同様に、プロファイリングが開始されるまでに遅延が発生する可能性があります。

android.os.ProfilingTrigger.TRIGGER_TYPE_COLD_STARTの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象