OBEXAddDescriptionHeader(_:_:)
Add a CFStringRef to a dictionary of OBEXheaders.
Declaration
func OBEXAddDescriptionHeader(_ description: CFString!, _ dictRef: CFMutableDictionary!) -> OBEXErrorParameters
- description:
Description 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
Description header - OBEX Spec, 2.2.6: (2-byte) Null terminated unicode string.
See Also
Miscellaneous
OBEXAddApplicationParameterHeader(_:_:_:)OBEXAddAuthorizationChallengeHeader(_:_:_:)OBEXAddAuthorizationResponseHeader(_:_:_:)OBEXAddBodyHeader(_:_:_:_:)OBEXAddByteSequenceHeader(_:_:_:)OBEXAddConnectionIDHeader(_:_:_:)OBEXAddCountHeader(_:_:)OBEXAddHTTPHeader(_:_:_:)OBEXAddLengthHeader(_:_:)OBEXAddNameHeader(_:_:)OBEXAddObjectClassHeader(_:_:_:)OBEXAddTargetHeader(_:_:_:)OBEXAddTime4ByteHeader(_:_:)OBEXAddTimeISOHeader(_:_:_:)OBEXAddTypeHeader(_:_:)