com.businessobjects.sdk.biar
Interface IImportCallback


public interface IImportCallback

This interface must be implemented by an object to receive notification of events that occur during the import process. Each event is handled by a callback method. To create an instance, use IImportOptions.setCallback(IImportCallback).


Method Summary
 void onProgressUpdate(float fractionComplete)
          This method is called periodically during the import process to provide an updated estimation of the current progress.
 

Method Detail

onProgressUpdate

void onProgressUpdate(float fractionComplete)
This method is called periodically during the import process to provide an updated estimation of the current progress. The progress is represented as a floating point value between 0 and 1.

If the import completes normally, the last value to be received by this method is guaranteed to be 1.

Note:the callback is executed asynchronously and does not block the import process.

Parameters:
fractionComplete - a floating point value between 0 and 1 representing how much of the import has been completed.