---
title: HMMutablePresenceEvent
framework: homekit
role: symbol
role_heading: Class
path: homekit/hmmutablepresenceevent
---

# HMMutablePresenceEvent

A mutable event that triggers based on the presence of users in the home.

## Declaration

```swift
class HMMutablePresenceEvent
```

## Topics

### Configuring a presence event

- [presenceEventType](homekit/hmmutablepresenceevent/presenceeventtype.md)
- [presenceUserType](homekit/hmmutablepresenceevent/presenceusertype.md)

## Relationships

### Inherits From

- [HMPresenceEvent](homekit/hmpresenceevent.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSMutableCopying](foundation/nsmutablecopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### User presence

- [HMPresenceEvent](homekit/hmpresenceevent.md)
- [HMPresenceEventType](homekit/hmpresenceeventtype.md)
- [HMPresenceEventUserType](homekit/hmpresenceeventusertype.md)
