<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 10.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CallKit",
  "identifier" : "/documentation/CallKit/CXHandle/init(type:value:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CallKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CXHandle(im)initWithType:value:"
  },
  "title" : "init(type:value:)"
}
-->

# init(type:value:)

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

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

## Parameters

`type`

The type of handle. For possible values, see

`value`

The value for the handle.

## Return Value

A new handle with the specified type and value.

## Discussion

This is the designated initializer.

---

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)