WindowNode
open class WindowNode
| kotlin.Any | |
| ↳ | android.app.assist.AssistStructure.WindowNode |
Describes a window in the assist data.
Summary
| Public methods | |
|---|---|
| open Int |
Returns the ID of the display this window is on, for use with |
| open Int |
Returns the total height of the window in pixels. |
| open Int |
getLeft()Returns the left edge of the window, in pixels, relative to the left edge of the screen. |
| open AssistStructure.ViewNode! |
Returns the |
| open CharSequence! |
getTitle()Returns the title associated with the window, if it has one. |
| open Int |
getTop()Returns the top edge of the window, in pixels, relative to the top edge of the screen. |
| open Int |
getWidth()Returns the total width of the window in pixels. |
Public methods
getDisplayId
open fun getDisplayId(): Int
Returns the ID of the display this window is on, for use with DisplayManager.getDisplay().
getHeight
open fun getHeight(): Int
Returns the total height of the window in pixels.
getLeft
open fun getLeft(): Int
Returns the left edge of the window, in pixels, relative to the left edge of the screen.
getRootViewNode
open fun getRootViewNode(): AssistStructure.ViewNode!
Returns the ViewNode containing the root content of the window.
getTitle
open fun getTitle(): CharSequence!
Returns the title associated with the window, if it has one.
getTop
open fun getTop(): Int
Returns the top edge of the window, in pixels, relative to the top edge of the screen.
getWidth
open fun getWidth(): Int
Returns the total width of the window in pixels.