/** * Set the {@link AspectRatioFrameLayout.AspectRatioListener}. * * @param listener The listener to be notified about aspect ratios changes of the video content or * the content frame. */ public void setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener listener) { Assertions.checkState(contentFrame != null); contentFrame.setAspectRatioListener(listener); }
/** * Set the {@link AspectRatioFrameLayout.AspectRatioListener}. * * @param listener The listener to be notified about aspect ratios changes of the video content or * the content frame. */ public void setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener listener) { Assertions.checkState(contentFrame != null); contentFrame.setAspectRatioListener(listener); }