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 * @param numBytes the number of bytes completed. 011 * @param totalBytes the total number of bytes. 012 */ 013 void onProgressChanged(long numBytes, long totalBytes); 014}