Google is committed to advancing racial equity for Black communities. See how.

AspectRatio

open class AspectRatio
kotlin.Any
   ↳ androidx.camera.core.AspectRatio

The aspect ratio of the use case.

Aspect ratio is the ratio of width to height.

Summary

Constants

static Int

16:9 standard aspect ratio.

static Int

4:3 standard aspect ratio.

Constants

RATIO_16_9

static val RATIO_16_9: Int

16:9 standard aspect ratio.

Value: 1

RATIO_4_3

static val RATIO_4_3: Int

4:3 standard aspect ratio.

Value: 0