-
public interface OnVideoSizeChangedListenerInterface definition of a callback to be invoked when there has been a change is the size of the video currently being displayed.
-
-
Method Summary
Modifier and Type Method Description abstract voidonVideoSizeChanged(int intrinsicWidth, int intrinsicHeight, float pixelWidthHeightRatio)Called when the size of the video currently playing has changed.Normally this will only be called once or twice per video, howeverwhen using adaptive streams such as HLS, MPeg Dash, or Smooth Streamthis will likely be called fairly often (whenever the stream degradesor improves). -
-
Method Detail
-
onVideoSizeChanged
abstract void onVideoSizeChanged(int intrinsicWidth, int intrinsicHeight, float pixelWidthHeightRatio)
Called when the size of the video currently playing has changed.Normally this will only be called once or twice per video, howeverwhen using adaptive streams such as HLS, MPeg Dash, or Smooth Streamthis will likely be called fairly often (whenever the stream degradesor improves).
- Parameters:
intrinsicWidth- The intrinsic (unscaled) width of the video currently in playbackintrinsicHeight- The intrinsic (unscaled) height of the video currently in playback
-
-
-
-