---
title: "OBEXAddApplicationParameterHeader(_:_:_:)"
framework: IOBluetooth
role: symbol
role_heading: Function
path: "iobluetooth/obexaddapplicationparameterheader(_:_:_:)"
---

# OBEXAddApplicationParameterHeader(_:_:_:)

Add bytes representing an application parameter to a dictionary of OBEX headers.

## Declaration

```swift
func OBEXAddApplicationParameterHeader(_ inHeaderData: UnsafeRawPointer!, _ inHeaderDataLength: UInt32, _ dictRef: CFMutableDictionary!) -> OBEXError
```

## Parameters

- `inHeaderData`: Application parameter data - should be tag/length/value triplets.
- `inHeaderDataLength`: Length of application parameter data.
- `dictRef`: Dictionary you have allocated to hold the headers. Make sure it’s mutable.

## Return Value

Return Value Error code, kOBEXSuccess (0) if success.

## Discussion

Discussion Application Request/Response Parameter headers - OBEX Spec, 2.2.11: Byte Sequence

## See Also

### Miscellaneous

- [OBEXAddAuthorizationChallengeHeader(_:_:_:)](iobluetooth/obexaddauthorizationchallengeheader(_:_:_:).md)
- [OBEXAddAuthorizationResponseHeader(_:_:_:)](iobluetooth/obexaddauthorizationresponseheader(_:_:_:).md)
- [OBEXAddBodyHeader(_:_:_:_:)](iobluetooth/obexaddbodyheader(_:_:_:_:).md)
- [OBEXAddByteSequenceHeader(_:_:_:)](iobluetooth/obexaddbytesequenceheader(_:_:_:).md)
- [OBEXAddConnectionIDHeader(_:_:_:)](iobluetooth/obexaddconnectionidheader(_:_:_:).md)
- [OBEXAddCountHeader(_:_:)](iobluetooth/obexaddcountheader(_:_:).md)
- [OBEXAddDescriptionHeader(_:_:)](iobluetooth/obexadddescriptionheader(_:_:).md)
- [OBEXAddHTTPHeader(_:_:_:)](iobluetooth/obexaddhttpheader(_:_:_:).md)
- [OBEXAddLengthHeader(_:_:)](iobluetooth/obexaddlengthheader(_:_:).md)
- [OBEXAddNameHeader(_:_:)](iobluetooth/obexaddnameheader(_:_:).md)
- [OBEXAddObjectClassHeader(_:_:_:)](iobluetooth/obexaddobjectclassheader(_:_:_:).md)
- [OBEXAddTargetHeader(_:_:_:)](iobluetooth/obexaddtargetheader(_:_:_:).md)
- [OBEXAddTime4ByteHeader(_:_:)](iobluetooth/obexaddtime4byteheader(_:_:).md)
- [OBEXAddTimeISOHeader(_:_:_:)](iobluetooth/obexaddtimeisoheader(_:_:_:).md)
- [OBEXAddTypeHeader(_:_:)](iobluetooth/obexaddtypeheader(_:_:).md)
