Debug.GlobalClassInitCount プロパティ

定義

と の間で正常に初期化されたクラス (つまり、例外をスローせずに実行されたクラス) の数を#startAllocCounting() start#stopAllocCounting() stop返します。

public static int GlobalClassInitCount { [Android.Runtime.Register("getGlobalClassInitCount", "()I", "")] get; }
[<get: Android.Runtime.Register("getGlobalClassInitCount", "()I", "")>]
static member GlobalClassInitCount : int

プロパティ値

属性

注釈

と の間で正常に初期化されたクラス (つまり、例外をスローせずに実行されたクラス) の数を#startAllocCounting() start#stopAllocCounting() stop返します。

このメンバーは非推奨とされます。 正確なカウントはランタイムの負担であり、削除される可能性があります。

の Java ドキュメント android.os.Debug.getGlobalClassInitCount()

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

適用対象