Sound profile

In Ionic how could I make the device on silent mode i.e how could I change the sound profile of a device.