<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 4.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMMutableCharacteristicEvent",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:objc(cs)HMMutableCharacteristicEvent"
  },
  "title" : "HMMutableCharacteristicEvent"
}
-->

# HMMutableCharacteristicEvent

A mutable event that is evaluated based on the value of a characteristic.

```
class HMMutableCharacteristicEvent<TriggerValueType> where TriggerValueType : NSCopying
```

## Topics

### Configuring the event

[`var characteristic: HMCharacteristic`](/documentation/HomeKit/HMMutableCharacteristicEvent/characteristic)

The characteristic associated with the event.

[`var triggerValue: TriggerValueType?`](/documentation/HomeKit/HMMutableCharacteristicEvent/triggerValue)

The value of the characteristic that triggers the event.

## Relationships

### Inherits From

[`HMCharacteristicEvent`](/documentation/HomeKit/HMCharacteristicEvent)

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSMutableCopying`](/documentation/Foundation/NSMutableCopying)

[`Sendable`](/documentation/Swift/Sendable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

---

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)