---
title: trafficClass
framework: coretelephony
role: symbol
role_heading: Instance Property
path: coretelephony/ctslicingmanager/slice/trafficclass
---

# trafficClass

A traffic class that routes traffic through this network slice.

## Declaration

```swift
let trafficClass: CTSlicingManager.TrafficClass?
```

## Discussion

Discussion The traffic class indicates the quality of service characteristics for the slice, such as voice, video, or background data. When the network slice doesn’t have a specific traffic class restriction, this property returns CTSlicingManager.TrafficClass.any, indicating the slice can handle all types of network traffic.

## See Also

### Representing slice properties

- [appCategory](coretelephony/ctslicingmanager/slice/appcategory.md)
- [networkInterfaceName](coretelephony/ctslicingmanager/slice/networkinterfacename.md)
