<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.7.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMedia",
  "identifier" : "/documentation/CoreMedia/CMTimeFlags",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Media"
    ],
    "preciseIdentifier" : "c:@E@CMTimeFlags"
  },
  "title" : "CMTimeFlags"
}
-->

# CMTimeFlags

A structure that defines the flags for a time value.

```
struct CMTimeFlags
```

## Topics

### Properties

[`kCMTimeFlags_Valid`](/documentation/CoreMedia/CMTimeFlags/valid)

A flag that indicates a time is valid.

[`kCMTimeFlags_HasBeenRounded`](/documentation/CoreMedia/CMTimeFlags/hasBeenRounded)

A flag that indicates a previous time calculation rounded the result.

[`kCMTimeFlags_PositiveInfinity`](/documentation/CoreMedia/CMTimeFlags/positiveInfinity)

A flag that indicates the time is positive infinity.

[`kCMTimeFlags_NegativeInfinity`](/documentation/CoreMedia/CMTimeFlags/negativeInfinity)

A flag that indicates the time is negative infinity.

[`kCMTimeFlags_Indefinite`](/documentation/CoreMedia/CMTimeFlags/indefinite)

A flag that indicates the time is indefinite.

[`kCMTimeFlags_ImpliedValueFlagsMask`](/documentation/CoreMedia/CMTimeFlags/impliedValueFlagsMask)

A flag that indicates the time is positive or negative infinity, or indefinite.

### Initializers

[`init(rawValue:)`](/documentation/CoreMedia/CMTimeFlags/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)