FrameRateCategory
Class
Common
value class FrameRateCategory private constructor(internal val value: Float)
A type-safe representation of a frame rate category for a display or application.
- Default: Default value. This value can also be set to return to default behavior, indicating that this component has no data for the frame rate.
- Normal: Indicates a middle frame rate suitable for animations that do not require higher frame rates. This is normally 60 Hz or close to it.
- High: Indicates a frame rate suitable for animations that require a high frame rate.
Companion Object
Properties
Common
val Default = FrameRateCategory(Float.NaN)
Common
val Normal = FrameRateCategory(-3f)
Common
val High = FrameRateCategory(-4f)