get the duration of the curently playing clip of the timeline?

its my first time using timelines so sorry if i mess up the terminology but i am using a timeline to create conversations and have made the dialog system and i just need to run an ienumerator at the start of every clip (it has an scriptable object with the dialog that needs to be played attached to it)and feed it the duration of the clip and the attached scriptableobject.feel free to ask for any crarification

Have a look at, it might help.