Create a new custom playback event user info dictionary.
SDK
- tvOS 12.0+
Framework
- TVMLKit
Declaration
init(properties: [TVPlayback Event Property : 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.