---
title: totalSampleDataLength
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avassettrack/totalsampledatalength
---

# totalSampleDataLength

The total number of bytes of sample data the track requires.

## Declaration

```swift
var totalSampleDataLength: Int64 { get }
```

## Discussion

Discussion The value may be 0 if the framework can’t determine the total sample data length.
