Class

TrackpadButton

Source set: Android
public actual class TrackpadButton(public val buttonId: Int)

Members

Companion

Source set: Android
public actual companion object

Properties

Primary

Source set: Android
public val Primary: TrackpadButton

The left trackpad button

Secondary

Source set: Android
public val Secondary: TrackpadButton

The right trackpad button

Tertiary

Source set: Android
public val Tertiary: TrackpadButton

The middle trackpad button

Source set: Common
public expect class TrackpadButton(public val buttonId: Int)

Representation of a trackpad button with its associated ID for the current platform.

Members

Companion

Source set: Common
public companion object

Properties

Primary

Source set: Common
public val Primary: TrackpadButton

The primary trackpad button. Typically the left trackpad button.

Secondary

Source set: Common
public val Secondary: TrackpadButton

The secondary trackpad button. Typically the right trackpad button.

Tertiary

Source set: Common
public val Tertiary: TrackpadButton

The tertiary trackpad button. Typically the middle trackpad button.

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: