<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio/AVAudioPlayerNodeCompletionCallbackType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "c:@E@AVAudioPlayerNodeCompletionCallbackType"
  },
  "title" : "AVAudioPlayerNodeCompletionCallbackType"
}
-->

# AVAudioPlayerNodeCompletionCallbackType

Constants that specify when the framework must invoke the completion handler.

```
enum AVAudioPlayerNodeCompletionCallbackType
```

## Topics

### Completion Handler Cases

[`AVAudioPlayerNodeCompletionCallbackType.dataConsumed`](/documentation/AVFAudio/AVAudioPlayerNodeCompletionCallbackType/dataConsumed)

A completion handler that indicates the player consumes the buffer or file data.

[`AVAudioPlayerNodeCompletionCallbackType.dataRendered`](/documentation/AVFAudio/AVAudioPlayerNodeCompletionCallbackType/dataRendered)

A completion handler that indicates the player renders the buffer or file data.

[`AVAudioPlayerNodeCompletionCallbackType.dataPlayedBack`](/documentation/AVFAudio/AVAudioPlayerNodeCompletionCallbackType/dataPlayedBack)

A completion handler that indicates the player finishes the buffer or file data.



---

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)