<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMIDI",
  "identifier" : "/documentation/CoreMIDI/MIDINotification",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core MIDI"
    ],
    "preciseIdentifier" : "c:@S@MIDINotification"
  },
  "title" : "MIDINotification"
}
-->

# MIDINotification

A message that describes a system state change.

```
struct MIDINotification
```

## Topics

### Inspecting the Notification

[`MIDINotificationMessageID`](/documentation/CoreMIDI/MIDINotificationMessageID)

The types of state changes the system supports.

[`messageID`](/documentation/CoreMIDI/MIDINotification/messageID)

An identifier that describes the type of state change.

[`messageSize`](/documentation/CoreMIDI/MIDINotification/messageSize)

The size of the message including its ID.

### Initializers

[`init()`](/documentation/CoreMIDI/MIDINotification/init())

[`init(messageID:messageSize:)`](/documentation/CoreMIDI/MIDINotification/init(messageID:messageSize:))



---

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)