---
title: "init(rawValue:)"
framework: mapkit
role: symbol
role_heading: Initializer
path: "mapkit/mklocalsearch/resulttype/init(rawvalue:)"
---

# init(rawValue:)

Creates a search result type from the provided value.

## Declaration

```swift
init(rawValue: UInt)
```

## Parameters

- `rawValue`: An unsigned integer that represents the type of the requested search result.
