Package 

Interface OnVideoSizeChangedListener


  • 
    public interface OnVideoSizeChangedListener
    
                        

    Interface 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 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).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 playback
        intrinsicHeight - The intrinsic (unscaled) height of the video currently in playback