<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AudioToolbox",
  "identifier" : "/documentation/AudioToolbox/AudioFileStreamPropertyFlags/propertyIsCached",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Audio Toolbox"
    ],
    "preciseIdentifier" : "c:@E@AudioFileStreamPropertyFlags@kAudioFileStreamPropertyFlag_PropertyIsCached"
  },
  "title" : "propertyIsCached"
}
-->

# propertyIsCached

This flag is set when the callback [`AudioFileStream_PropertyListenerProc`](/documentation/AudioToolbox/AudioFileStream_PropertyListenerProc) is invoked in the case that the value of the property has been cached and can be obtained later.

```
static var propertyIsCached: AudioFileStreamPropertyFlags { get }
```

## Discussion

If this flag is not set,  get the value of the property from within this callback or set the [`cacheProperty`](/documentation/AudioToolbox/AudioFileStreamPropertyFlags/cacheProperty) flag to instruct the parser to begin caching the property data. Otherwise, the value will not be available after the callback returns.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)