<!--
{
  "availability" : [
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZCustomVirtioDeviceDelegate/customVirtioDevice(_:didReceiveNotificationFor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(pl)VZCustomVirtioDeviceDelegate(im)customVirtioDevice:didReceiveNotificationForQueue:"
  },
  "title" : "customVirtioDevice(_:didReceiveNotificationFor:)"
}
-->

# customVirtioDevice(_:didReceiveNotificationFor:)

The method the framework calls when the device receives a virtqueue (Virtio queue) notification from the guest.

```
optional func customVirtioDevice(_ device: VZCustomVirtioDevice, didReceiveNotificationFor queue: VZVirtioQueue)
```

## Parameters

`device`

The device invoking the delegate method.

`queue`

The queue that received the notification.

---

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)