---
title: UIFocusSoundIdentifier
framework: uikit
role: symbol
role_heading: Structure
path: uikit/uifocussoundidentifier
---

# UIFocusSoundIdentifier

An identifier for a focus-related sound.

## Declaration

```swift
struct UIFocusSoundIdentifier
```

## Mentioned in

Using custom sounds for focus movement

## Overview

Overview To assign an identifier to a custom sound file, call the register(_:forSoundIdentifier:) method of UIFocusSystem.

## Topics

### Constants

- [default](uikit/uifocussoundidentifier/default.md)
- [none](uikit/uifocussoundidentifier/none.md)

### Initializers

- [init(_:)](uikit/uifocussoundidentifier/init(_:).md)
- [init(rawValue:)](uikit/uifocussoundidentifier/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the sound to play during updates

- [Using custom sounds for focus movement](uikit/using-custom-sounds-for-focus-movement.md)
- [soundIdentifierForFocusUpdate(in:)](uikit/uifocusenvironment/soundidentifierforfocusupdate(in:).md)
