How can we get the duration from the microphone component?

Is there a way to get the duration of the recording from the microphone?

I want to disable a button if the duration of the microphone is less than a certain value.

Seems like there is no direct key to get the duration.

Not currently :disappointed: Moving this to feature requests for now!