<!--
{
  "availability" : [
    "tvOS: 12.0.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "TVMLKit",
  "identifier" : "/documentation/TVMLKit/TVPlaybackCustomEventUserInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "TVMLKit"
    ],
    "preciseIdentifier" : "c:objc(cs)TVPlaybackCustomEventUserInfo"
  },
  "title" : "TVPlaybackCustomEventUserInfo"
}
-->

# TVPlaybackCustomEventUserInfo

The user information used in a custom playback event.

```
class TVPlaybackCustomEventUserInfo
```

## Topics

### Creating User Info for Custom Playback Events

[`init(properties: [TVPlaybackEventProperty : Any]?, expectsReturnValue: Bool)`](/documentation/TVMLKit/TVPlaybackCustomEventUserInfo/init(properties:expectsReturnValue:))

Create a new custom playback event user info dictionary.

[`struct TVPlaybackEventProperty`](/documentation/TVMLKit/TVPlaybackEventProperty)

Extend this structure to create your own custom playback event properties.

[`var expectsReturnValue: Bool`](/documentation/TVMLKit/TVPlaybackCustomEventUserInfo/expectsReturnValue)

A Boolean value that indicates whether the custom event expects to contain a return value.

[`var returnValue: Any?`](/documentation/TVMLKit/TVPlaybackCustomEventUserInfo/returnValue)

The return value type for the custom event.

## Relationships

### Conforms To

[`TVPlaybackEventMarshaling`](/documentation/TVMLKit/TVPlaybackEventMarshaling)

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

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

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)