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

# init(properties:expectsReturnValue:)

Create a new custom playback event user info dictionary.

```
init(properties: [TVPlaybackEventProperty : Any]?, expectsReturnValue: Bool)
```

## Parameters

`properties`

A dictionary of custom playback event properties.

## Return Value

A Boolean value that indicates whether the custom playback event requires a return value.

## Discussion

When created, if the function requires a return value, it is only dispatched to first listener. Otherwise, it is broadcast to all of the listeners.

---

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)