public final class ScreenCommands


Commands about the current focused display.

Summary

Public methods

final boolean

Returns whether the keyboard is currently visible.

final @NonNull String

Returns the full name of the resumed activity on the screen in the format / that the user last interacted with.

Public methods

isKeyboardVisible

Added in 1.0.0-alpha01
public final boolean isKeyboardVisible()

Returns whether the keyboard is currently visible.

resumedActivityName

Added in 1.0.0-alpha01
public final @NonNull String resumedActivityName()

Returns the full name of the resumed activity on the screen in the format / that the user last interacted with.