<!--
{
  "availability" : [
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DiskArbitration",
  "identifier" : "/documentation/DiskArbitration/DADiskAppearedCallback",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Disk Arbitration"
    ],
    "preciseIdentifier" : "c:@T@DADiskAppearedCallback"
  },
  "title" : "DADiskAppearedCallback"
}
-->

# DADiskAppearedCallback

Type of the callback function used by DARegisterDiskAppearedCallback().

```
typealias DADiskAppearedCallback = (DADisk, UnsafeMutableRawPointer?) -> Void
```

## Parameters

`disk`

A disk object.

`context`

The user-defined context parameter given to the registration function.

---

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)