Interface IncrementallyLoadable

All Known Implementing Classes:
XuggleVideo

public interface IncrementallyLoadable
  • Method Details

    • loadMoreFrames

      boolean loadMoreFrames(int n) throws IOException
      Attempt to load n more frames.
      Parameters:
      n - the number of additional frames to load
      Returns:
      true if n additional frames were loaded, false if fewer or none loaded
      Throws:
      IOException
    • getLoadedFrameCount

      int getLoadedFrameCount()
      Get the total number of frames loaded.
      Returns:
      the number of frames loaded
    • getLoadableFrameCount

      int getLoadableFrameCount()
      Get the total number of frames expected.
      Returns:
    • setLoadableFrameCount

      void setLoadableFrameCount(int n)
      Set the total number of frames expected.
      Parameters:
      n - the number of frames expected
    • isFullyLoaded

      boolean isFullyLoaded()
      Determines if the video is fully loaded.
      Returns:
      true if fully loaded