語言

UiAutomation.ClearWindowContentFrameStats(Int32) 方法

定義

清除特定視窗內容的幀統計。

[Android.Runtime.Register("clearWindowContentFrameStats", "(I)Z", "")]
public bool ClearWindowContentFrameStats(int windowId);
[<Android.Runtime.Register("clearWindowContentFrameStats", "(I)Z", "")>]
member this.ClearWindowContentFrameStats : int -> bool

參數

windowId
Int32

視窗識別碼。

傳回

視窗是否存在,幀數統計數據已清除。

屬性

備註

清除特定視窗內容的幀統計。 這些統計資料包含最近渲染的內容幀資訊。

拋出:IllegalStateException 如果與無障礙子系統的連接尚未建立。

Android 參考資料。android.app.UiAutomation.clearWindowContentFrameStats

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

適用於

另請參閱