Implements advanced OBEX operations in addition to simple PUT and GET.


All operations are asynchronous and will callback over a respective delegate method if the initial return value is successful. The initial return value usually concerns the state of this object where as the delegate return value reflects the response of the remote device.



init!(obexSession: IOBluetoothOBEXSession!)

Create a new OBEXFileTransferServices object

Instance Properties

Instance Methods

func abort()

Abort the current operation

func changeCurrentFolderBackward()

Change to the directory above the current level if not at the root

func changeCurrentFolderToRoot()

Asynchronously change to the remote root directory

func connectToFTPService()

Connect to a remote device for FTP operations

func connectToObjectPushService()

Connect to a remote device for ObjectPush operations. Most of the FTP functionality of this object will be disabled.

func copyRemoteFile(String!, toLocalPath: String!)

Copy a remote file to a local path

func createFolder(String!)

Create a folder on the remote target

func currentPath()

Get the remote current directory path during an FTP session

func disconnect()

Disconnect from the remote device

func getDefaultVCard(String!)

Get the remote default VCard, if it is supported

func isBusy()

Get the action state of the module

func isConnected()

Get the connected state of this module.

func removeItem(String!)

Remove a remote item.

func retrieveFolderListing()

Get a remote directory listing

func sendFile(String!)

Put a local file to the remote target

Type Methods

class func withOBEXSession(IOBluetoothOBEXSession!)

Create a new OBEXFileTransferServices object


Inherits From

Conforms To