Property

isAltPressed

Indicates whether the Alt key is pressed.

Source set: Android
public val KeyEvent.isAltPressed: Boolean

Indicates whether the Alt key is pressed.

Source set: Android
public val PointerKeyboardModifiers.isAltPressed: Boolean
Source set: Common
public val KeyEvent.isAltPressed: Boolean

Indicates whether the Alt key is pressed.

Source set: Common
public val PointerKeyboardModifiers.isAltPressed: Boolean

true when the Alt key is pressed. This is commonly associated with the Option key on some keyboards.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: