---
title: "init(identifier:hostPid:)"
framework: browserenginekit
role: symbol
role_heading: Initializer
path: "browserenginekit/beaccessibilityremoteelement/init(identifier:hostpid:)"
---

# init(identifier:hostPid:)

Initializes and registers a remote element.

## Declaration

```swift
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

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