API MethodsObjective C
MFActionTokenAPI
This is the interface for requesting action tokens.
Instance Methods
- initWithVersion:
Returns an MFActionTokenAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- getActionToken:callbacks:
Requests an action token.- (void)getActionToken:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getActionToken:query:callbacks:
Requests an action token.- (void)getActionToken:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFContactAPI
The interface for conducting contact operations.
Instance Methods
- initWithVersion:
Returns an MFContactAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- add:callbacks:
Adds a new contact, updates an existing contact, or imports/syncs a third-party contact to the current session user's contact list.- (void)add:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- add:query:callbacks:
Adds a new contact, updates an existing contact, or imports/syncs a third-party contact to the current session user's contact list.- (void)add:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- delete:callbacks:
Delete a contact from the current session user's contact list.- (void)delete:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- delete:query:callbacks:
Delete a contact from the current session user's contact list.- (void)delete:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFDeviceAPI
The interface for conducting device operations.
Instance Methods
- initWithVersion:
Returns an MFDeviceAPI object initialized with a given API version number.
- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- getChanges:callbacks:
Gets a list of files and folders with revisions greater than the revision supplied by the client, up to the next 500-multiplier.- (void)getChanges:(NSDictionary*)options callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getChanges:query:callbacks:
Gets a list of files and folders with revisions greater than the revision supplied by the client, up to the next 500-multiplier.- (void)getChanges:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getForeignResources:callbacks:
Gets a pair of lists representing the files and folders that have been shared to the current user from other users.- (void)getForeignResources:(NSDictionary*)options callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getForeignResources:query:callbacks:
Gets a pair of lists representing the files and folders that have been shared to the current user from other users.- (void)getForeignResources:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getPatch:callbacks:
Gets a download link for the patch specified by the client.- (void)getPatch:(NSDictionary*)options callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getPatch:query:callbacks:
Gets a download link for the patch specified by the client.- (void)getPatch:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getResourceShares:callbacks:
Gets a list of contacts, along with their permissions, of a shared file or folder.- (void)getResourceShares:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getResourceShares:query:callbacks:
Gets a list of contacts, along with their permissions, of a shared file or folder.- (void)getResourceShares:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getStatus:callbacks:
Gets revision and async job status for the device id supplied by the client.- (void)getStatus:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getStatus:query:callbacks:
Gedts revision and async job status for the device id supplied by the client.- (void)getStatus:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getTrash:callbacks:
Returns the trash can folder data and the list of immediate files and folders in the trash can. Contents of subfolders in the trash can will not be returned.- (void)getTrash:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getTrash:query:callbacks:
Returns the trash can folder data and the list of immediate files and folders in the trash can. Contents of subfolders in the trash can will not be returned.- (void)getTrash:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getUpdates:callbacks:
Gets a list of patches applied to the file specified by the client.- (void)getUpdates:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getUpdates:query:callbacks:
Gets a list of patches applied to the file specified by the client.- (void)getUpdates:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getUserShares:callbacks:
Gets a list of all items the current user account has shared, and the contacts to which those items have been shared.- (void)getUserShares:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getUserShares:query:callbacks:
Gets a list of all items the current user account has shared, and the contacts to which those items have been shared. -(void)getUserShares:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- shareResources:callbacks:
Authorizes 1 or more contacts with access to one or more items in the current user's account, where the client provides contact ids, resource ids, and the respective permission levels associated with each contact-resource pair.- (void)shareResources:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- shareResources:query:callbacks:
Authorizes 1 or more contacts with access to one or more items in the current user's account, where the client provides contact ids, resource ids, and the respective permission levels associated with each contact-resource pair.- (void)shareResources:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unshareResources:callbacks:
Deauthorizes all or a select few contacts from accessing a resource that was previously shared.- (void)unshareResources:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unshareResources:query:callbacks:
Deauthorizes all or a select few contacts from accessing a resource that was previously shared.- (void)unshareResources:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- followResource:callbacks:
Adds a folderkey/quickkey supplied by the client to the client's list of followed items (foreign resources).- (void)followResource:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- followResource:query:callbacks:
Adds a folderkey/quickkey supplied by the client to the client's list of followed items (foreign resources).- (void)followResource:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unfollowResource:callbacks:
Removes a folderkey/quickkey supplied by the client from the client's list of followed items (foreign resources).- (void)unfollowResource:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unfollowResource:query:callbacks:
Removes a folderkey/quickkey supplied by the client from the client's list of followed items (foreign resources).- (void)unfollowResource:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFFileAPI
The interface for conducting file operations.
Instance Methods
- initWithVersion:
Returns an MFFileAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- configureOneTimeDownload:callbacks:
Allows configuring/modifying the options related to an existing one-time download link.- (void)configureOneTimeDownload:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- configureOneTimeDownload:query:callbacks:
Allows configuring/modifying the options related to an existing one-time download link.- (void)configureOneTimeDownload:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- copy:callbacks:
Copy a file to a specified folder.- (void)copy:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- copy:query:callbacks:
Copy a file to a specified folder.- (void)copy:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- create:callbacks:
Creates a file.- (void)create:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- create:query:callbacks:
Creates a file.- (void)create:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- createSnapshot:callbacks:
Creates a duplicate of a file as a new revision.- (void)createSnapshot:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- createSnapshot:query:callbacks:
Creates a duplicate of a file as a new revision.- (void)createSnapshot:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- delete:callbacks:
Delete a user's file. The file is moved to the Trash Can.- (void)delete:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- delete:query:callbacks:
Delete a user's file. The file is moved to the Trash Can.- (void)delete:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getFlags:callbacks:
Returns a bitmask value of special information about a file.- (void)getFlags:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getFlags:query:callbacks:
Returns a bitmask value of special information about a file.- (void)getFlags:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:callbacks:
Returns a list of the a file's details.- (void)getInfo:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:query:callbacks:
Returns a list of the a file's details.- (void)getInfo:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLinks:callbacks:
Returns the view link, normal download link, and, if possible, the direct download link of a file.- (void)getLinks:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLinks:query:callbacks:
Returns the view link, normal download link, and, if possible, the direct download link of a file.- (void)getLinks:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getStatus:callbacks:
Returns the status of a document or an image.- (void)getStatus:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getStatus:query:callbacks:
Returns the status of a document or an image.- (void)getStatus:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getVersions:callbacks:
Returns a list of all file versions.- (void)getVersions:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getVersions:query:callbacks:
Returns a list of all file versions.- (void)getVersions:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- move:callbacks:
Move a file, or list of files, to a folder.- (void)move:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- move:query:callbacks:
Move a file, or list of files, to a folder.- (void)move:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- oneTimeDownload:callbacks:
Creates a one-time download link.- (void)oneTimeDownload:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- oneTimeDownload:query:callbacks:
Creates a one-time download link.- (void)oneTimeDownload:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- purge:callbacks:
Permanently delete a user's file.- (void)purge:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- purge:query:callbacks:
Permanently delete a user's file.- (void)purge:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- recentlyModified:callbacks:
Returns a list of quickkeys of the recently modified files.- (void)recentlyModified:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- recentlyModified:query:callbacks:
Returns a list of quickkeys of the recently modified files.- (void)recentlyModified:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- restore:callbacks:
Restores an old file revision and makes it the current head.- (void)restore:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- restore:query:callbacks:
Restores an old file revision and makes it the current head.- (void)restore:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setFlags:callbacks:
Sets the bits in the file's flags.- (void)setFlags:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- update:callbacks:
Update a file's information.- (void)update:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- update:query:callbacks:
Update a file's information.- (void)update:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- updateFile:callbacks:
Update a file's quickkey with another file's quickkey.- (void)updateFile:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- updateFile:query:callbacks:
Update a file's quickkey with another file's quickkey.- (void)updateFile:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- updatePassword:callbacks:
Update a file's password.- (void)updatePassword:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- updatePassword:query:callbacks:
Update a file's password.- (void)updatePassword:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- zip:callbacks:
Bulk-download multiple files and folders into one single zip file.- (void)zip:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- zip:query:callbacks:
Bulk-download multiple files and folders into one single zip file.- (void)zip:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFFolderAPI
The interface for conducting folder operations.
Instance Methods
- initWithVersion:
Returns an MFFolderAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- copy:callbacks:
Copy a folder and its content to another folder.- (void)copy:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- copy:query:callbacks:
Copy a folder and its content to another folder.- (void)copy:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- create:callbacks:
Creates a folder.- (void)create:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- create:query:callbacks:
Creates a folder.- (void)create:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- delete:callbacks:
Delete a user's folder. If called, the folder is not deleted permanently but, rather, the folder is moved to the trash can.- (void)delete:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- delete:query:callbacks:
Delete a user's folder. If called, the folder is not deleted permanently but, rather, the folder is moved to the trash can.- (void)delete:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getContent:callbacks:
Returns either a list of folders or a list of files.- (void)getContent:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getContent:query:callbacks:
Returns either a list of folders or a list of files.- (void)getContent:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getDepth:callbacks:
Returns information about folder nesting (distance from root).- (void)getDepth:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getDepth:query:callbacks:
Returns information about folder nesting (distance from root).- (void)getDepth:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getFlags:callbacks:
Returns a bitmask value of special information about a folder.- (void)getFlags:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getFlags:query:callbacks:
Returns a bitmask value of special information about a folder.- (void)getFlags:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:callbacks:
Returns a list of the folder's details.- (void)getInfo:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:query:callbacks:
Returns a list of the folder's details.- (void)getInfo:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getRevision:callbacks:
Returns a number indicating the revision of the folder identified by folder_key. Can also include what type of changes were made to files/folders.- (void)getRevision:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See [Developer Documentation]Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getRevision:query:callbacks:
Returns a number indicating the revision of the folder identified by folder_key. Can also include what type of changes were made to files/folders.- (void)getRevision:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSiblings:callbacks:
Returns the sibling folders.- (void)getSiblings:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSiblings:query:callbacks:
Returns the sibling folders.- (void)getSiblings:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- move:callbacks:
Move one folder to another folder.- (void)move:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- move:query:callbacks:
Move one folder to another folder.- (void)move:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- purge:callbacks:
Permanently delete a user's folder.- (void)purge:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- purge:query:callbacks:
Permanently delete a user's folder.- (void)purge:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- search:callbacks:
Search the the content of the given folder.- (void)search:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- search:query:callbacks:
Search the the content of the given folder.- (void)search:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setFlags:callbacks:
Sets the bits in the folder's flags.- (void)setFlags:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setFlags:query:callbacks:
Sets the bits in the folder's flags.- (void)setFlags:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- update:callbacks:
Update a folder's information.- (void)update:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- update:query:callbacks:
Update a folder's information.- (void)update:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFHTTPOptions
Constants
- HURL : The name of the "url" property in an options dictionary.
- HTIMEOUT : The name of the "timeout" property in an options dictionary.
- HMETHOD : The name of the "method" property in an options dictionary.
- HREQHEADERS : The name of the "request headers" property in an options dictionary.
- HURLPARAMS : The name of the "url params" property in an options dictionary.
- HLOCALPATH : The name of the "local path" property in an options dictionary.
- HUPTYPE : The name of the "upload type" property in an options dictionary.
- HUPDATA : The name of the "upload data" property in an options dictionary. Should only have a value if HUPTYPE == HUPT_DATA.
- HUPPATH : The name of the "upload path" property in an options dictionary. Should only have a value if HUPTYPE == HUPT_PATH.
- HUPT_PATH : The value of the "upload type" property when uploading a file by path.
- HUPT_DATA : The value of the "upload type" property when uploading raw a NSData block.
- HHOST : The name of the "host" property in an options dictionary.
- HTOKEN : The name of the "token type" property in an options dictionary.
- HTKT_PARA : The value of the "upload type" property when token type is parallel.
- HTKT_NONE : The value of the "upload type" property when token type is none.
- HTKT_SERIAL : The value of the "upload type" property when token type is serial.
- HPARALLEL : The name of the "parallel token type" property in an options dictionary.
- HPTT_IMAGE : The value of the "parallel token type" property when token type is image.
- HPTT_UPLOAD : The value of the "parallel token type" property when token type is upload.
- HSECURE : The name of the "secure" property in an options dictionary.
- HCLIENT : The name of the "http client id" property in an options dictionary.
- HDESCRIPTION : The name of the "description" property in an options dictionary.
MFMediaAPI
The interface for requesting media.
Class Methods
+ generateConversionServerURL:withHash:withParameters:
Returns a partial url formatted for conversion server requests.+ (NSString*)generateConversionServerURL:(NSString*)baseUrlString withHash:(NSString*)hash withParameters:(NSDictionary*)params;Parameters
- baseUrlString : The absolute path to the server script.
- hash : The hash of the file for the request.
- params : Dictionary with options such as size_id and doc_type.
Instance Methods
- getPreviewURL:withHash:
Returns a url for document/image previews.- (NSString*)getPreviewURL:(NSDictionary*)parameters withHash:(NSString*)hash;Parameters
- parameters : Dictionary with options such as size_id and doc_type
- hash : The hash of the file to be requested.
- getPreviewBinary:hash:callbacks:
Downloads a preview, and returns the file binary up the callback chain. Not recommended for use, unless you are only downloading small files and not interested in caching them.- (void)getPreviewBinary:(NSDictionary*)parameters hash:(NSString*)hash callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options.
- hash : The hash of the file that the preview is being requested for.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getPreviewBinary:query:hash:callbacks:
Downloads a preview, and returns the file binary up the callback chain. Not recommended for use, unless you are only downloading small files and not interested in caching them.- (void)getPreviewBinary:(NSDictionary*)options query:(NSDictionary*)parameters hash:(NSString*)hash callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options.
- hash : The hash of the file that the preview is being requested for.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getPreviewBinaryCachedPath:hash:callbacks:
Downloads a preview, saves it to the Caches folder, and returns the file path to the downloaded file up the callback chain.- (void)getPreviewBinaryCachedPath:(NSDictionary*)parameters hash:(NSString*)hash callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options.
- hash : The hash of the file that the preview is being requested for.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getPreviewBinaryCachedPath:query:hash:callbacks:
Downloads a preview, saves it to the Caches folder, and returns the file path to the downloaded file up the callback chain.- (void)getPreviewBinaryCachedPath:(NSDictionary*)options query:(NSDictionary*)parameters hash:(NSString*)hash callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options.
- hash : The hash of the file that the preview is being requested for.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- directDownload:callbacks:
Performs a direct download of a file at the given url. Differs from getPreviewBinaryCachedPath in that this method gets the original file, not a preview. The file is saved to a temporary folder and the path to the file is passed up the callback chain.- (void)directDownload:(NSURL*)url callbacks:(NSDictionary*)callbacks;Parameters
- url : The direct download url, which can be acquired via a call to 'getLinks'. See MFFileAPI.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFSessionAPI
The interface for requesting session tokens.
Instance Methods
- initWithVersion:
Returns an MFSessionAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- getSessionToken:callbacks:
Requests an action token.- (void)getSessionToken:(NSDictionary*)credentials callbacks:(NSDictionary*)callbacks;Parameters
- credentials : Dictionary with a credentials set. See MFCredentials.h for details.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSessionToken:query:callbacks:
Requests an action token.- (void)getSessionToken:(NSDictionary*)options query:(NSDictionary*)credentials callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- credentials : Dictionary with a credentials set. See MFCredentials.h for details.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFSystemAPI
The interface for getting information about the API system.
Instance Methods
- initWithVersion:
Returns an MFSystemAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- getEditableMedia:callbacks:
Returns a list of all supported documents for editing.- (void)getEditableMedia:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getEditableMedia:query:callbacks:
Returns a list of all supported documents for editing.- (void)getEditableMedia:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:callbacks:
Returns all the configuration data about the MediaFire system.- (void)getInfo:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:query:callbacks:
Returns all the configuration data about the MediaFire system.- (void)getInfo:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLimits:callbacks:
Returns a list of various limits that the API honors.- (void)getLimits:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLimits:query:callbacks:
Returns a list of various limits that the API honors.- (void)getLimits:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getMimeTypes:callbacks:
Returns a list of file extensions, their document type, and their mime types.- (void)getMimeTypes:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getMimeTypes:query:callbacks:
Returns a list of file extensions, their document type, and their mime types.- (void)getMimeTypes:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getStatus:callbacks:
Returns the current state of the cloud infrastructure.- (void)getStatus:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getStatus:query:callbacks:
Returns the current state of the cloud infrastructure.- (void)getStatus:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSupportedMedia:callbacks:
Returns the list of all supported document types for preview.- (void)getSupportedMedia:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSupportedMedia:query:callbacks:
Returns the list of all supported document types for preview.- (void)getSupportedMedia:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getVersion:callbacks:
Returns the current API version (major.minor).- (void)getVersion:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getVersion:query:callbacks:
Returns the current API version (major.minor).- (void)getVersion:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter options. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFUploadAPI
The interface for conducting upload operations.
Instance Methods
- initWithVersion:
Returns an MFUploadAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- check:callbacks:
Checks for existing file before upload.- (void)check:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- check:query:callbacks:
Checks for existing file before upload.- (void)check:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- instant:callbacks:
Performs an instant upload.- (void)instant:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- instant:query:callbacks:
Performs an instant upload.- (void)instant:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- uploadFile:query:callbacks:
Performs a file upload.- (void)uploadFile:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- uploadUnit:query:callbacks:
Performs a unit (resumable) upload.- (void)uploadUnit:(NSDictionary*)fileInfo query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- fileInfo : Dictionary with file information for the upload, such as name, size, and hash.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- uploadUnit:fileInfo:query:callbacks:
Performs a unit (resumable) upload.- (void)uploadUnit:(NSDictionary*)options fileInfo:(NSDictionary*)fileInfo query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- fileInfo : Dictionary with file information for the upload, such as name, size, and hash.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- upload:query:callbacks:
Performs an upload. Not recommended for direct use.- (void)upload:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- pollUpload:callbacks:
Checks the status of an upload.- (void)pollUpload:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- pollUpload:query:callbacks:
Checks the status of an upload.- (void)pollUpload:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
MFUserAPI
The interface for conducting user operations.
Instance Methods
- initWithVersion:
Returns an MFUserAPI object initialized with a given API version number.- (id)initWithVersion:(NSString*)version;Parameters
- version : The version of the MediaFire API that the instance will default to.
- acceptTOS:callbacks:
Accepts the Terms of Service by sending the acceptance token.- (void)acceptTOS:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- acceptTOS:query:callbacks:
Accepts the Terms of Service by sending the acceptance token.- (void)acceptTOS:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- fetchTOS:callbacks:
Returns the HTML format of the MediaFire Terms of Service and its revision number, date, whether the user has accepted it not not, and the acceptance token (if the user has not accepted the latest terms).- (void)fetchTOS:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- fetchTOS:query:callbacks:
Returns the HTML format of the MediaFire Terms of Service and its revision number, date, whether the user has accepted it not not, and the acceptance token (if the user has not accepted the latest terms).- (void)fetchTOS:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getAvatar:callbacks:
Returns the URL of the operating user's avatar image.- (void)getAvatar:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getAvatar:query:callbacks:
Returns the URL of the operating user's avatar image.- (void)getAvatar:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:callbacks:
Returns a list of the user's personal information.- (void)getInfo:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getInfo:query:callbacks:
Returns a list of the user's personal information.- (void)getInfo:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLimits:callbacks:
Returns an array of limit-related statuses for the user.- (void)getLimits:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLimits:query:callbacks:
Returns an array of limit-related statuses for the user.- (void)getLimits:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLoginToken:callbacks:
Generates a 60-second Login Token to be used by the developer to log a user directly into their account.- (void)getLoginToken:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getLoginToken:query:callbacks:
Generates a 60-second Login Token to be used by the developer to log a user directly into their account.- (void)getLoginToken:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSessionToken:callbacks:
Generates a 10-minute access session token to be used in upcoming API requests.- (void)getSessionToken:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSessionToken:query:callbacks:
Generates a 10-minute access session token to be used in upcoming API requests.- (void)getSessionToken:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSettings:callbacks:
Returns a list of the user's account settings.- (void)getSettings:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- getSettings:query:callbacks:
Returns a list of the user's account settings.- (void)getSettings:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- linkFacebook:callbacks:
Links a Facebook account with a MediaFire account.- (void)linkFacebook:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- linkFacebook:query:callbacks:
Links a Facebook account with a MediaFire account.- (void)linkFacebook:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- linkTwitter:callbacks:
Links a Twitter account with a MediaFire account.- (void)linkTwitter:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- linkTwitter:query:callbacks:
Links a Twitter account with a MediaFire account.- (void)linkTwitter:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- registerUser:callbacks:
Registers a MediaFire account.- (void)registerUser:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- registerUser:query:callbacks:
Registers a MediaFire account.- (void)registerUser:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setAvatar:callbacks:
Save a copy of an image file, or a remote image, to serve as the operating user's avatar.- (void)setAvatar:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setAvatar:query:callbacks:
Save a copy of an image file, or a remote image, to serve as the operating user's avatar.- (void)setAvatar:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setSettings:callbacks:
Set user preferences.- (void)setSettings:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- setSettings:query:callbacks:
Set user preferences.- (void)setSettings:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unlinkFacebook:callbacks:
Unlinks the associated Facebook account from the session user's MediaFire account.- (void)unlinkFacebook:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unlinkFacebook:query:callbacks:
Unlinks the associated Facebook account from the session user's MediaFire account.- (void)unlinkFacebook:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unlinkTwitter:callbacks:
Unlinks the associated Twitter account from the session user's MediaFire account. Parameters- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- unlinkTwitter:query:callbacks:
Unlinks the associated Twitter account from the session user's MediaFire account.- (void)unlinkTwitter:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- update:callbacks:
Updates the user's personal information.- (void)update:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).
- update:query:callbacks:
Updates the user's personal information.- (void)update:(NSDictionary*)options query:(NSDictionary*)parameters callbacks:(NSDictionary*)callbacks;Parameters
- options : Dictionary with HTTP client options. See MFHTTPOptions.h for list of valid parameters.
- parameters : Dictionary with API parameter parameters. See Developer Documentation for list of valid parameters.
- callbacks : A dictionary containing an onload callback and onerror callback. See NSDictionary(Callbacks).