Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
//License from project: Open Source License 

import android.media.AudioManager;
import android.os.Build;

public class Main {
    public static String getScoUpdateAction() {
        if (Build.VERSION.SDK_INT >= 14) {
            return AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED;
        } else {
            return AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED;
        }
    }
}