---
title: "init(type:value:)"
framework: callkit
role: symbol
role_heading: Initializer
path: "callkit/cxhandle/init(type:value:)"
---

# init(type:value:)

Initializes a new handle of a given type with the specified value.

## Declaration

```swift
init(type: CXHandle.HandleType, value: String)
```

## Parameters

- `type`: The type of handle. For possible values, see
- `value`: The value for the handle.

## Return Value

Return Value A new handle with the specified type and value.

## Discussion

Discussion This is the designated initializer.
