Public Member Functions

<OFCloudStorageDelegate> Protocol Reference

#import <OFCloudStorage.h>

List of all members.

Public Member Functions

(void) - didUpload
(void) - didFailUpload:
(void) - didDownloadData:
(void) - didFailDownloadData:
(void) - didDownloadKeysForCurrentUser:
(void) - didFailDownloadKeysForCurrentUser

Detailed Description

Adopt the OFCloudStorageDelegate Protocol to receive information regarding OFCloudStorage. You must call OFCloudStorage's +(void)setDelegate: method to receive information.


Member Function Documentation

- (void) didDownloadData: (NSData *)  data [optional]

Invoked by OFCloudStorage when + (void)downloadDataWithKey:(NSString*)key completes successfully.

Parameters:
dataThe data retrieved from the key passed into downloadDataWithKey:
- (void) didDownloadKeysForCurrentUser: (NSArray *)  keys [optional]

Invoked by OFCloudStorage when + (void)downloadKeysForCurrentUser completes successfully

- (void) didFailDownloadData: (OFCloudStorageStatus_Code statusCode [optional]

Invoked by OFCloudStorage when + (void)downloadDataWithKey:(NSString*)key fails.

- (void) didFailDownloadKeysForCurrentUser [optional]

Invoked by OFCloudStorage when + (void)downloadKeysForCurrentUser fails

- (void) didFailUpload: (OFCloudStorageStatus_Code statusCode [optional]

Invoked by OFCloudStorage when + (void)upload:(NSData*)data withKey:(NSString*)key fails.

- (void) didUpload [optional]

Invoked by OFCloudStorage when + (void)upload:(NSData*)data withKey:(NSString*)key completes successfully.


The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator Properties