<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEAccessibilityRemoteElement/init(identifier:hostPid:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(cs)BEAccessibilityRemoteElement(im)initWithIdentifier:hostPid:"
  },
  "title" : "init(identifier:hostPid:)"
}
-->

# init(identifier:hostPid:)

Initializes and registers a remote element.

```
init(identifier: String, hostPid: pid_t)
```

## Parameters

`identifier`

A unique ID that creates an element reference pair by connecting an accessibility element to its representation that the local process hosts. Set this parameter to a unique value per pair of element references.

`hostPid`

The process ID of the host’s remote element process.

## Discussion

Don’t return an instance of this class from an object in your view hierarchy.

---

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)