MediaAspectRatio

@IntDef(value = [MediaAspectRatio.UNKNOWN, MediaAspectRatio.ANY, MediaAspectRatio.LANDSCAPE, MediaAspectRatio.PORTRAIT, MediaAspectRatio.SQUARE])
public annotation MediaAspectRatio


미디어 가로세로 비율

지원되는 값:

요약

상수

static final int
ANY = 1

모든 미디어 가로세로 비율

static final int

가로 모드 미디어 가로세로 비율

static final int

세로 모드 미디어 가로세로 비율

static final int
SQUARE = 4

정사각형 미디어 가로세로 비율

static final int

미디어 가로세로 비율을 알 수 없음

상수

모든 유형

public static final int ANY = 1

모든 미디어 가로세로 비율

가로 모드

public static final int LANDSCAPE = 2

가로 모드 미디어 가로세로 비율

PORTRAIT

public static final int PORTRAIT = 3

세로 모드 미디어 가로세로 비율

정사각형

public static final int SQUARE = 4

정사각형 미디어 가로세로 비율 가로세로 비율이 정확한 1:1이 아닙니다.

알 수 없음

public static final int UNKNOWN = 0

미디어 가로세로 비율을 알 수 없음