<!--
{
  "availability" : [
    "macOS: 10.0.0 - 10.5.0"
  ],
  "documentType" : "symbol",
  "framework" : "IOBluetoothUI",
  "identifier" : "/documentation/IOBluetoothUI/IOBluetoothServiceBrowserController/browseDevicesAsSheetForWindow:options:window:",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "IOBluetooth UI"
    ],
    "preciseIdentifier" : "c:objc(cs)IOBluetoothServiceBrowserController(cm)browseDevicesAsSheetForWindow:options:window:"
  },
  "title" : "browseDevicesAsSheetForWindow:options:window:"
}
-->

# browseDevicesAsSheetForWindow:options:window:

```
+ (IOReturn) browseDevicesAsSheetForWindow:(IOBluetoothSDPServiceRecord **) outRecord options:(IOBluetoothServiceBrowserControllerOptions) inOptions window:(NSWindow *) inWindow;
```

## Parameters

`outRecord`

Pointer to a (IOBluetoothSDPServiceRecord *) object. This will get allocated and returned to the client if the user selects a service.

`inOptions`

For future expansion. Currently no options defined.

`inWindow`

The window to be used as the anchor of the sheet.

## Return Value

IOReturn - * kIOReturnSuccess - on successful completion. * kCanceledErr - User canceled.

## Discussion

This method will allocate and run the IOBluetoothServiceBrowserController browser window as a sheet for a window.

---

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)