語言

AssistStructure.WindowNode.DisplayId 屬性

定義

回傳該視窗所處顯示的 ID,以便用於 android.hardware.display.DisplayManager#getDisplay DisplayManager.getDisplay()。

public virtual int DisplayId { [Android.Runtime.Register("getDisplayId", "()I", "GetGetDisplayIdHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getDisplayId", "()I", "GetGetDisplayIdHandler", ApiSince=23)>]
member this.DisplayId : int

屬性值

包含此視窗的顯示器 ID,供顯示管理器使用。

屬性

備註

回傳該視窗所處顯示的 ID,以便用於 android.hardware.display.DisplayManager#getDisplay DisplayManager.getDisplay()。

Java 文件 android.app.assist.AssistStructure.WindowNode.getDisplayId()。

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

適用於