Android Open Source - AndroidUploader Upload State Callback






From Project

Back to project page AndroidUploader.

License

The source code is released under:

Apache License

If you think the Android project AndroidUploader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package z.hol.uploader;
/*from   w w w .j a v  a 2s .  c o m*/
/**
 * ???????
 * Created by holmes on 10/19/14.
 */
public interface UploadStateCallback {

    /**
     * ??????????????, ???????????
     */
    void onUploadFinished(int id);

    /**
     * ????
     * @param id
     */
    void onUploadStart(int id);

    /**
     * ??
     * @param code
     */
    void onError(int id, int code);

    /**
     * ???
     */
    void onCompleted(int id);

    /**
     * ??
     * @param total
     * @param current
     */
    void onProgress(int id, long total, long current);

    /**
     * ?????
     */
    void onCancel(int id);
}




Java Source Code List

z.hol.uploader.FileHttpUploader.java
z.hol.uploader.HttpUploader.java
z.hol.uploader.StreamUploader.java
z.hol.uploader.UploadStateCallback.java
z.hol.uploader.UploadUiHandler.java
z.hol.uploader.Uploader.java
z.hol.uploader.bridge.Bridge.java
z.hol.uploader.bridge.HttpBridge.java
z.hol.uploader.bridge.StreamBridge.java