code: public static ResourceList<MediaFile> list(final BandwidthClient client, final int page, final int size) throws IOException {
      	
          final String mediaUri = client.getUserResourceUri(BandwidthConstants.MEDIA_URI_PATH);
  
          final ResourceList<MediaFile> mediaFiles = 
          			new ResourceList<MediaFile>(page, size, mediaUri, MediaFile.class);
          mediaFiles.setClient(client);
          mediaFiles.initialize();
          
          return mediaFiles;
      }
docs: Factory method for MediaFile list, returns a list of MediaFile objects with page, size preference
  @param client the client.
  @param page the page
  @param size the page size
  @return the list
  @throws IOException unexpected error.