Example usage for android.media ToneGenerator TONE_CDMA_PIP

List of usage examples for android.media ToneGenerator TONE_CDMA_PIP

Introduction

In this page you can find the example usage for android.media ToneGenerator TONE_CDMA_PIP.

Prototype

int TONE_CDMA_PIP

To view the source code for android.media ToneGenerator TONE_CDMA_PIP.

Click Source Link

Document

CDMA PIP tone: 480Hz 100ms ON, 100ms OFF repeated for 4 times

Usage

From source file:Main.java

public static void startPipTone(int duration) {
    new ToneGenerator(AudioManager.STREAM_MUSIC, ToneGenerator.MAX_VOLUME)
            .startTone(ToneGenerator.TONE_CDMA_PIP, duration);
}