---
title: protocols
framework: cryptotokenkit
role: symbol
role_heading: Instance Property
path: cryptotokenkit/tksmartcardatr/protocols
---

# protocols

An array of protocols indicated in the ATR

## Declaration

```swift
var protocols: [NSNumber] { get }
```

## Discussion

Discussion Each element in the returned array is an NSNumber object containing an NSUInteger value corresponding to a member of the TKSmartCardProtocol enumeration. The returned protocols are ordered such that the default protocol is at index 0, and any duplicate values are removed.

## See Also

### Accessing ATR Attributes

- [bytes](cryptotokenkit/tksmartcardatr/bytes.md)
- [historicalBytes](cryptotokenkit/tksmartcardatr/historicalbytes.md)
- [historicalRecords](cryptotokenkit/tksmartcardatr/historicalrecords.md)
