<!--
{
  "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

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

A flag that indicates a time is valid.

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

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

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

A flag that indicates the time is positive infinity.

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

A flag that indicates the time is negative infinity.

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

A flag that indicates the time is indefinite.

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



---

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)