init(duration:commands:)
Creates an instance that contains the commands specified in the array:
Declaration
init(duration: CMTime? = nil, commands: [PresentationCommand] = [])Parameters
- duration:
The duration of the metadata commands.
- commands:
An array of presentation commands.