Go to console

MediaAspectRatio

public abstract @interface MediaAspectRatio implements Annotation

Media aspect ratio.

Supported values:

Constant Summary

int ANY Any media aspect ratio.
int LANDSCAPE Landscape media aspect ratio.
int PORTRAIT Portrait media aspect ratio.
int SQUARE Square media aspect ratio.
int UNKNOWN Unknown media aspect ratio.

Inherited Method Summary

Constants

public static final int ANY

Any media aspect ratio.

Constant Value: 1

public static final int LANDSCAPE

Landscape media aspect ratio.

Constant Value: 2

public static final int PORTRAIT

Portrait media aspect ratio.

Constant Value: 3

public static final int SQUARE

Square media aspect ratio. This is not a strict 1:1 aspect ratio.

Constant Value: 4

public static final int UNKNOWN

Unknown media aspect ratio.

Constant Value: 0