## com.gs.phone.api.audio

# CallToneApi

ClassName:BaseCallApiAll call tone apis

### Supported Products:

All

# Detail

## Method

method | description
--- | ---
`public static` `boolean` `isAnyToneInPlay`(); | Check if the tone is playing ### Return: boolean false/true ### Supported Products: All
`public static` `boolean` `isRingToneInPlay`(); | Check if the ringtone is playing ### Return: boolean false/true ### Supported Products: All
`public static` `boolean` `isDialToneInPlay`(); | Check if the dialtone is playing ### Return: boolean false/true ### Supported Products: All
`public static` `boolean` `isDtmfToneInPlay`(); | Check if the dtmf tone is playing ### Return: boolean false/true ### Supported Products: All
`public static` `void` `stopAllTone`(); | Stop all tone ### Supported Products: All
`public static` `void` `stopRingtone`(); | Stop all ringtone ### Supported Products: All
`public static` `void` `startDtmfTone`(`int` keyValue); | Start play dtmf tone ### Params: keyValue the dtmf tone type{@link android.media.ToneGenerator} ### Supported Products: All
`public static` `void` `stopDtmfTone`(`int` keyValue); | Stop play dtmf tone ### Params: keyValue the dtmf tone type{@link android.media.ToneGenerator} ### Supported Products: All
`public static` `void` `startCallWaitingTone`(); | Start play call waiting tone ### Supported Products: All
`public static` `void` `stopCallWaitingTone`(); | Stop play call waiting tone ### Supported Products: All
`public static` `void` `startRingbackTone`(); | Start play ringback tone ### Supported Products: All
`public static` `void` `stopRingbackTone`(); | Stop play ringback tone ### Supported Products: All
`public static` `void` `startBusyTone`(); | Start play busy tone ### Supported Products: All
`public static` `void` `stopBusyTone`(); | Stop play busy tone ### Supported Products: All
`public static` `void` `startDialTone`(); | Start play dial tone ### Supported Products: All
`public static` `void` `stopDialTone`(); | Stop play dial tone ### Supported Products: All
`public static` `void` `startSecondDialTone`(); | Start play second dial tone ### Supported Products: All
`public static` `void` `stopSecondDialTone`(); | Stop play second dial tone ### Supported Products: All
`public static` `void` `startConfirmTone`(); | Start play confirm tone ### Supported Products: All
`public static` `void` `stopConfirmTone`(); | Stop play confirm tone ### Supported Products: All
`public static` `void` `startReorderTone`(); | Start play reorder tone ### Supported Products: All
`public static` `void` `stopReorderTone`(); | Stop play reorder tone ### Supported Products: All
`public static` `void` `startRingtone`(`int` lineId); | Play the matched ringtone according to the line ### Supported Products: All
`public static` `void` `playSystemRingtone`(); | Start play system ringtone ### Supported Products: All
`public static` `void` `playDndTone`(); | Start play the ringtone in the DND mode ### Supported Products: All
`public static` `void` `startVMDialTone`(); | Start play dial tone when there is unread voice mail ### Supported Products: All
`public static` `void` `stopVMDialTone`(); | Stop play dial tone when there is unread voice mail ### Supported Products: All
`public static` `void` `startAutoAnswerTone`(); | Start play auto answer tone ### Supported Products: All
`public static` `void` `stopAutoAnswerTone`(); | Stop play auto answer tone ### Supported Products: All
`public static` `int` `getCurToneType`(); | Gets the type of tone currently playing ### Return: Tone type ### Supported Products: All

## Member & Constant

Member | description
--- | ---
`public static final` `String` `API` | The tag name of CallToneApi,which can used in {@link com.gs.common.client.ApiClient.Builder#addApi(String)} ### Supported Products: All