How to cut off the phone after 10 seconds

I use “MakePhoneCallDirect” to make a call, how can I automatically cut off after 10 seconds.I just need to remind by phone.

you can use clock component

Are you sure? There are no blocks in AI2 to end a phone call…

why @TIMAI2

Good question, probably because control is passed to the default phone app. Also android security mentality would probably not allow remote control of phone calls from another app - consider the havoc!

OO, Thank you for your info :+1: :smiley: :+1:

to TIMAI2
Is there a feasible method or code? For your reference, thanks.