getDisplayId

open fun getDisplayId(): Int(source)

Returns the ID of the display this window is on, for use with getDisplay.

Compatibility:

  • Api <33: Will return android.view.Display.DEFAULT_DISPLAY.

Return

the logical display id.