Contents

OBEXAddTypeHeader(_:_:)

Add a CFStringRef to a dictionary of OBEXheaders.

Declaration

func OBEXAddTypeHeader(_ type: CFString!, _ dictRef: CFMutableDictionary!) -> OBEXError

Parameters

  • type:

    Description containing the name you want to add to the OBEX header dictionary.

  • dictRef:

    Dictionary you have allocated to hold the headers. Make sure it’s mutable.

Return Value

Error code, kOBEXSuccess (0) if success.

Discussion

Type header - OBEX Spec, 2.2.3: 1-byte Null terminated ascii string.

See Also

Miscellaneous