Android Audio Sound Turn turnPre(Context context)

Here you can find the source of turnPre(Context context)

Description

turn Pre

Declaration

public static void turnPre(Context context) 

Method Source Code

import android.content.Context;
import android.media.AudioManager;

public class Main{
    public static void turnPre(Context context) {
        Debug.e("Globle", "turnPre");
        AudioManager audioMgr = (AudioManager) context
                .getSystemService(Context.AUDIO_SERVICE);
        audioMgr.setRingerMode(AudioManager.RINGER_MODE_NORMAL);
    }//from   w w  w.  java 2 s. c o  m
}

Related

  1. mute(Context context, boolean on)
  2. turnDown(Context context)
  3. turnUpMost(Context context)
  4. turnUpSecond(Context context)