toMode

open fun toMode(): @Nullable Display.Mode

Returns the wrapped object Display.Mode, which may be null if no mode is available.