Class

FrameRateCategory

A type-safe representation of a frame rate category for a display or application.

Source set: Common
public class FrameRateCategory private constructor(internal val value: Float)

A type-safe representation of a frame rate category for a display or application.

    that this component has no data for the frame rate.

  • Default: Default value. This value can also be set to return to default behavior, indicating
  • rates. This is normally 60 Hz or close to it.

  • Normal: Indicates a middle frame rate suitable for animations that do not require higher frame
  • High: Indicates a frame rate suitable for animations that require a high frame rate.

Members

Companion

Source set: Common
public companion object

Properties

Default

Source set: Common
public val Default: FrameRateCategory

Normal

Source set: Common
public val Normal: FrameRateCategory

High

Source set: Common
public val High: FrameRateCategory
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: