public final enum

ResizeMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.amazonaws.ivs.player.ResizeMode

Class Overview

Defines different modes for displaying video in a PlayerView.

Summary

Enum Values
ResizeMode  FILL  Preserves the aspect ratio by increasing the width or height. 
ResizeMode  FIT  Preserves the aspect ratio by reducing the width or height. 
ResizeMode  ZOOM  Fits the parent view ignoring the aspect ratio of the video. 
Public Methods
static ResizeMode valueOf(String name)
final static ResizeMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ResizeMode FILL

Preserves the aspect ratio by increasing the width or height.

public static final ResizeMode FIT

Preserves the aspect ratio by reducing the width or height.

public static final ResizeMode ZOOM

Fits the parent view ignoring the aspect ratio of the video.

Public Methods

public static ResizeMode valueOf (String name)

public static final ResizeMode[] values ()