ADC Home > Reference Library > Reference > Hardware & Drivers > Bluetooth > Bluetooth Framework Reference
|
NSObject(OBEXFileTransferServicesDelegate) |
Extends Class: | NSObject |
Declared In: |
OBEXFileTransferServicesDelegate
The delegate method that corresponds to the abort method
The delegate method that corresponds to the connect method
The delegate method that corresponds to the getFileNamed:toLocalPathAndName: method
The delegate method for receiving information on the GET transfer
The delegate method that corresponds to the createFolderNamed: method.
The delegate method that corresponds to the createFolderNamed: method.
The delegate method that corresponds to the disconnect method
The delegate method for receiving information on the preparation of each file to send
The delegate method that corresponds to the changeCurrentFolderToRoot:, changeCurrentFolderBackward:, and changeCurrentFolderForward: methods
The delegate method that corresponds to the removeItemNamed: method.
The delegate method that corresponds to the retrieveFolderListing method
The delegate method that corresponds to the sendFile: method.
The delegate method for receiving information on the sendFile: transfer
fileTransferServicesAbortComplete:error: |
The delegate method that corresponds to the abort method
- (void) fileTransferServicesAbortComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError;
Possible inError values are kOBEXSuccess and kOBEXTimeoutError
fileTransferServicesConnectionComplete:error: |
The delegate method that corresponds to the connect method
- (void) fileTransferServicesConnectionComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError;
inError will either be kOBEXSuccess or it will be an error returned by the OBEX Session
fileTransferServicesCopyRemoteFileComplete:error: |
The delegate method that corresponds to the getFileNamed:toLocalPathAndName: method
- (void) fileTransferServicesCopyRemoteFileComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError;
This method will be called when the transfer operation has finished
fileTransferServicesCopyRemoteFileProgress:transferProgress: |
The delegate method for receiving information on the GET transfer
- (void) fileTransferServicesCopyRemoteFileProgress:(OBEXFileTransferServices*)inServices transferProgress:(NSDictionary*)inProgressDescription;
inProgressDescription
A dictionary containing information on the state of the transfer. The keys to this dictionary are defined in the OBEXFileTransferServicesDelegate category.
This method will be called during the transfer operation
fileTransferServicesCreateFolderComplete:error:folder: |
The delegate method that corresponds to the createFolderNamed: method.
See Also:
fileTransferServicesCreateFolderComplete:error:folderName:
- (void) fileTransferServicesCreateFolderComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError folder:(NSString*)inFolderName;
inFolderName
The name of the newly created folder
fileTransferServicesCreateFolderComplete:error:folderName: |
The delegate method that corresponds to the createFolderNamed: method.
See Also:
fileTransferServicesCreateFolderComplete:error:folder:
- (void) fileTransferServicesCreateFolderComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError folder:(NSString*)inFolderName;
inFolderName
The name of the newly created folder
fileTransferServicesDisconnectionComplete:error: |
The delegate method that corresponds to the disconnect method
- (void) fileTransferServicesDisconnectionComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError;
inError will be kOBEXSuccess on success. This method will also be called if the connection is lost to the server. Possible error codes include kOBEXSessionTransportDiedError, kOBEXSessionNoTransportError, and kOBEXSessionNotConnectedError.
fileTransferServicesFilePreparationComplete:error: |
The delegate method for receiving information on the preparation of each file to send
- (void) fileTransferServicesFilePreparationComplete: (OBEXFileTransferServices*) inServices error: (OBEXError) inError;
This method will be called before the transfer operation.
fileTransferServicesPathChangeComplete:error:finalPath: |
The delegate method that corresponds to the changeCurrentFolderToRoot:, changeCurrentFolderBackward:, and changeCurrentFolderForward: methods
- (void) fileTransferServicesPathChangeComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError finalPath:(NSString*)inPath;
inPath
The current remote path
fileTransferServicesRemoveItemComplete:error:removedItem: |
The delegate method that corresponds to the removeItemNamed: method.
- (void) fileTransferServicesRemoveItemComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError removedItem:(NSString*)inItemName;
inItemName
The name of the remote item that was removed
fileTransferServicesRetrieveFolderListingComplete:error:listing: |
The delegate method that corresponds to the retrieveFolderListing method
- (void) fileTransferServicesRetrieveFolderListingComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError listing:(NSArray*)inListing;
inListing
An array of NSDictionary's that detail each file at the current path. The keys to this dictionary are defined in the OBEXFileTransferServicesDelegate category.
fileTransferServicesSendFileComplete:error: |
The delegate method that corresponds to the sendFile: method.
- (void) fileTransferServicesSendFileComplete:(OBEXFileTransferServices*)inServices error:(OBEXError)inError;
This method will be called when the transfer operation has finished.
fileTransferServicesSendFileProgress:transferProgress: |
The delegate method for receiving information on the sendFile: transfer
- (void) fileTransferServicesSendFileProgress:(OBEXFileTransferServices*)inServices transferProgress:(NSDictionary*)inProgressDescription;
inProgressDescription
A dictionary containing information on the state of the transfer. The keys to this dictionary are defined in the OBEXFileTransferServicesDelegate category.
This method will be called during the transfer operation.
kFTSListingNameKey |
NSString value. This key is used with the array of NSDictionary's returned through the delegate method fileTransferServicesGetListingComplete: after calling getFolderListing.
private
extern CFStringRef kFTSListingNameKey;
kFTSListingSizeKey |
Int value. This key is used with the array of NSDictionary's returned through the delegate method fileTransferServicesGetListingComplete: after calling getFolderListing.
private
extern CFStringRef kFTSListingSizeKey;
kFTSListingTypeKey |
FTSFileType value. This key is used with the array of NSDictionary's returned through the delegate method fileTransferServicesGetListingComplete: after calling getFolderListing.
private
extern CFStringRef kFTSListingTypeKey;
kFTSProgressBytesTotalKey |
NSNumber integer value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
private
extern CFStringRef kFTSProgressBytesTotalKey;
kFTSProgressBytesTransferredKey |
NSNumber integer value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
private
extern CFStringRef kFTSProgressBytesTransferredKey;
kFTSProgressEstimatedTimeKey |
NSNumber double value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
private
extern CFStringRef kFTSProgressEstimatedTimeKey;
kFTSProgressPercentageKey |
NSNumber float value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
private
extern CFStringRef kFTSProgressPercentageKey;
kFTSProgressTimeElapsedKey |
NSNumber int value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
private
extern CFStringRef kFTSProgressTimeElapsedKey;
kFTSProgressTransferRateKey |
NSNumber float value. This key is used with the NSDictionary returned from the fileTransferServicesPutProgress: and fileTransferServicesGetProgress: delegate methods
private
extern CFStringRef kFTSProgressTransferRateKey;
FTSFileType |
private
enum FTSFileType { kFTSFileTypeFolder = 1, kFTSFileTypeFile = 2 };
kFTSFileTypeFolder
Folder
kFTSFileTypeFile
File
The type values associated with the kFTSListingTypeKey dictionary value
|
Last Updated: 2008-08-07