<!--
{
  "availability" : [
    "tvOS: 13.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVDocumentViewController/Event",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:@T@TVDocumentEvent"
  },
  "title" : "TVDocumentViewController.Event"
}
-->

# TVDocumentViewController.Event

Events that can be triggered on the document view controller.

```
struct Event
```

## Topics

### Initializers for Document View Controller Events

[`init(String)`](/documentation/TVMLKit/TVDocumentViewController/Event/init(_:))

Create a new document view controller event based on a string value.

[`init(rawValue: String)`](/documentation/TVMLKit/TVDocumentViewController/Event/init(rawValue:))

Create an instance of a new document view controller event based on a string value.

### Event Types

[`static let appear: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/appear)

An event that signals when the document appears.

[`static let disappear: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/disappear)

An event that signals when the document disappears.

[`static let highlight: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/highlight)

An event that signals when the document is highlighted.

[`static let holdSelect: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/holdSelect)

An event that signals when the document is held down and selected.

[`static let load: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/load)

An event that signals when the document is loaded.

[`static let play: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/play)

An event that signals when the document is played.

[`static let select: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/select)

An event that signals when the document is selected.

[`static let unload: TVDocumentViewController.Event`](/documentation/TVMLKit/TVDocumentViewController/Event/unload)

An event that signals when the document is unloaded.

## Relationships

### Conforms To

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

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

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

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

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

---

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)