---
title: GCRacingWheel.DidDisconnectMessage
framework: gamecontroller
role: symbol
role_heading: Structure
path: gamecontroller/gcracingwheel/diddisconnectmessage
---

# GCRacingWheel.DidDisconnectMessage

A message that posts after a racing wheel accessory disconnects from the device.

## Declaration

```swift
struct DidDisconnectMessage
```

## Overview

Overview Use the .didDisconnect identifier with NotificationCenter to listen for this message. let observation = NotificationCenter.default.addObserver(of: GCRacingWheel.self, for: .didDisconnect) { message in    let racingWheel = message.racingWheel }

## Topics

### Initializers

- [init(racingWheel:)](gamecontroller/gcracingwheel/diddisconnectmessage/init(racingwheel:).md)

### Instance Properties

- [racingWheel](gamecontroller/gcracingwheel/diddisconnectmessage/racingwheel.md)

## Relationships

### Conforms To

- [NotificationCenter.MainActorMessage](foundation/notificationcenter/mainactormessage.md)
- [SendableMetatype](swift/sendablemetatype.md)
