<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INCar/ChargingConnectorType/init(rawValue:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "s:So26INCarChargingConnectorTypea8rawValueABSS_tcfc"
  },
  "title" : "init(rawValue:)"
}
-->

# init(rawValue:)

Creates a charging connector type using the provided string.

```
init(rawValue: String)
```

## Parameters

`rawValue`

The charging connector type’s string representation.

## Discussion

If there isn’t a value of the type that corresponds to the specified `rawValue`, this initializer returns `nil`.

---

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)