SBBUploadManagerDelegate Protocol Reference

Conforms to NSObject
Declared in SBBUploadManager.h

Overview

This protocol defines the interface to the upload manager delegate.

– uploadManager:uploadOfFile:completedWithError: required method

Required delegate method that gets called when a background file upload task finishes, successfully or otherwise.

- (void)uploadManager:(SBBUploadManager *)manager uploadOfFile:(NSString *)file completedWithError:(NSError *)error

Parameters

manager

The upload manager instance making the call.

file

The path to the file whose upload task finished or failed.

error

If the upload task failed, this will describe the cause.

Declared In

SBBUploadManager.h

– uploadManager:uploadOfFile:completedWithVerificationURL:

Optional delegate method available only in debug builds. Called when a background file upload task finishes, successfully or otherwise in debug builds. Provides a URL that can be called for more information about the post-upload status of the data.

- (void)uploadManager:(SBBUploadManager *)manager uploadOfFile:(NSString *)file completedWithVerificationURL:(NSURL *)url

Parameters

manager

The upload manager instance making the call.

file

The path to the file whose upload task finished or failed.

url

The url to call to get more information about the post-upload status of the data.

Declared In

SBBUploadManager.h