init(properties:expectsReturnValue:)
Create a new custom playback event user info dictionary.
Declaration
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.