How to silence the voice instructions by code during navigation in android

Hello everyone, I would like to know how I can silence the voice instructions during navigation in andriod studio. Thanks in advance.

Powered by Discourse