001package com.box.sdk; 002 003/** 004 * The listener interface for monitoring the progress of a long-running API call. 005 */ 006public interface ProgressListener { 007 008 /** 009 * Invoked when the progress of the API call changes. 010 * 011 * @param numBytes the number of bytes completed. 012 * @param totalBytes the total number of bytes. 013 */ 014 void onProgressChanged(long numBytes, long totalBytes); 015}