-
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. -
-
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, however when using adaptive streams such as HLS, MPeg Dash, or Smooth Stream this will likely be called fairly often (whenever the stream degrades or improves).
- Parameters:
intrinsicWidth- The intrinsic (unscaled) width of the video currently in playbackintrinsicHeight- The intrinsic (unscaled) height of the video currently in playback
-
-
-
-