---
title: NFCISO7816APDU
framework: corenfc
role: symbol
role_heading: Class
path: corenfc/nfciso7816apdu
---

# NFCISO7816APDU

An object representing an ISO 7816 application protocol data unit (APDU).

## Declaration

```swift
class NFCISO7816APDU
```

## Topics

### Creating an APDU Object

- [init(instructionClass:instructionCode:p1Parameter:p2Parameter:data:expectedResponseLength:)](corenfc/nfciso7816apdu/init(instructionclass:instructioncode:p1parameter:p2parameter:data:expectedresponselength:).md)
- [init(data:)](corenfc/nfciso7816apdu/init(data:).md)

### Getting the Instruction Bytes

- [instructionClass](corenfc/nfciso7816apdu/instructionclass.md)
- [instructionCode](corenfc/nfciso7816apdu/instructioncode.md)

### Get the Parameter Bytes

- [p1Parameter](corenfc/nfciso7816apdu/p1parameter.md)
- [p2Parameter](corenfc/nfciso7816apdu/p2parameter.md)

### Getting the APDU Data

- [data](corenfc/nfciso7816apdu/data.md)

### Getting the Expected Response Length

- [expectedResponseLength](corenfc/nfciso7816apdu/expectedresponselength.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Sending a Command

- [sendCommand(apdu:resultHandler:)](corenfc/nfciso7816tag/sendcommand(apdu:resulthandler:).md)
- [sendCommand(apdu:completionHandler:)](corenfc/nfciso7816tag/sendcommand(apdu:completionhandler:).md)
- [NFCISO7816ResponseAPDU](corenfc/nfciso7816responseapdu.md)
