After 60 second stop the taking record

Hello everyone i’m trying the taking record but i want to stop the record at maximum 60 second.
How can i do this ? Thanks

A record of what? How is that related to Kotlin?

You’re right yole i forgot the write recording what :roll_eyes: I’m trying to make a mobile application a taking a voice records. But i solved about 2 days ago i forgot also writing in here. :smiley: