<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "tvOS: 18.0.0 -",
    "visionOS: 2.0.0 -",
    "watchOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "HomeKit",
  "identifier" : "/documentation/HomeKit/HMCharacteristicValueTargetMediaState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "HomeKit"
    ],
    "preciseIdentifier" : "c:@E@HMCharacteristicValueTargetMediaState"
  },
  "title" : "HMCharacteristicValueTargetMediaState"
}
-->

# HMCharacteristicValueTargetMediaState

Values for the state of the target media.

```
enum HMCharacteristicValueTargetMediaState
```

## Topics

### Media states

[`case pause`](/documentation/HomeKit/HMCharacteristicValueTargetMediaState/pause)

The target media state is set to pause.

[`case play`](/documentation/HomeKit/HMCharacteristicValueTargetMediaState/play)

The target media state is set to play.

[`case stop`](/documentation/HomeKit/HMCharacteristicValueTargetMediaState/stop)

The target media state is set to stop.

### Initializers

[`init?(rawValue: Int)`](/documentation/HomeKit/HMCharacteristicValueTargetMediaState/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)