<!--
{
  "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/HMPresenceEventUserType",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@E@HMPresenceEventUserType"
  },
  "title" : "HMPresenceEventUserType"
}
-->

# HMPresenceEventUserType

The group of users that triggers a presence event.

```
enum HMPresenceEventUserType
```

## Topics

### Selecting users

[`case currentUser`](/documentation/HomeKit/HMPresenceEventUserType/currentUser)

The current user triggers the presence event.

[`case homeUsers`](/documentation/HomeKit/HMPresenceEventUserType/homeUsers)

All users associated with a home trigger a presence event.

[`case customUsers`](/documentation/HomeKit/HMPresenceEventUserType/customUsers)

A custom set of users is used to trigger a presence event.

### Initializers

[`init?(rawValue: UInt)`](/documentation/HomeKit/HMPresenceEventUserType/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

[`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)