Example usage for Java android.media ToneGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
int | TONE_DTMF_0 DTMF tone for key 0: 1336Hz, 941Hz, continuous |
int | TONE_DTMF_1 DTMF tone for key 1: 1209Hz, 697Hz, continuous |
int | TONE_DTMF_2 DTMF tone for key 2: 1336Hz, 697Hz, continuous |
int | TONE_DTMF_3 DTMF tone for key 3: 1477Hz, 697Hz, continuous |
int | TONE_DTMF_4 DTMF tone for key 4: 1209Hz, 770Hz, continuous |
int | TONE_DTMF_5 DTMF tone for key 5: 1336Hz, 770Hz, continuous |
int | TONE_DTMF_6 DTMF tone for key 6: 1477Hz, 770Hz, continuous |
int | TONE_DTMF_7 DTMF tone for key 7: 1209Hz, 852Hz, continuous |
int | TONE_DTMF_8 DTMF tone for key 8: 1336Hz, 852Hz, continuous |
int | TONE_DTMF_9 DTMF tone for key 9: 1477Hz, 852Hz, continuous |
int | TONE_DTMF_S DTMF tone for key *: 1209Hz, 941Hz, continuous |
int | TONE_DTMF_P DTMF tone for key #: 1477Hz, 941Hz, continuous |
int | TONE_DTMF_A DTMF tone for key A: 1633Hz, 697Hz, continuous |
int | TONE_DTMF_B DTMF tone for key B: 1633Hz, 770Hz, continuous |
int | TONE_DTMF_C DTMF tone for key C: 1633Hz, 852Hz, continuous |
int | TONE_DTMF_D DTMF tone for key D: 1633Hz, 941Hz, continuous |
int | TONE_SUP_RINGTONE Call supervisory tone, Ring Tone: CEPT, JAPAN: 425Hz, 1s ON, 4s OFF... |
int | TONE_PROP_BEEP Proprietary tone, general beep: 400Hz+1200Hz, 35ms ON |
int | TONE_PROP_ACK Proprietary tone, positive acknowlegement: 1200Hz, 100ms ON, 100ms OFF 2 bursts |
int | TONE_PROP_NACK Proprietary tone, negative acknowlegement: 300Hz+400Hz+500Hz, 400ms ON |
int | TONE_PROP_BEEP2 Proprietary tone, general double beep: twice 400Hz+1200Hz, 35ms ON, 200ms OFF, 35ms ON |
int | TONE_CDMA_CONFIRM CDMA Confirm tone: 350Hz+440Hz 100ms ON, 100ms OFF repeated for 3 times |
int | TONE_CDMA_PIP CDMA PIP tone: 480Hz 100ms ON, 100ms OFF repeated for 4 times |
int | TONE_CDMA_ALERT_NETWORK_LITE CDMA Alert Network Lite tone: 1109Hz 62ms ON, 784Hz 62ms ON, 740Hz 62ms ON 622Hz 62ms ON, 1109Hz 62ms ON |
int | TONE_CDMA_ONE_MIN_BEEP CDMA One Min Beep tone: 1150Hz+770Hz 400ms ON |
int | TONE_CDMA_ALERT_CALL_GUARD CDMA ALERT CALL GUARD tone: {1319Hz 125ms ON, 125ms OFF} 3 times |
int | TONE_CDMA_SOFT_ERROR_LITE CDMA SOFT ERROR LITE tone: 1047Hz 125ms ON, 370Hz 125ms |
int | TONE_CDMA_ABBR_ALERT CDMA_ABBR_ALERT tone: 1150Hz+770Hz 400ms ON |
int | MAX_VOLUME Maximum volume, for use with #ToneGenerator(int,int) |
ToneGenerator(int streamType, int volume) ToneGenerator class contructor specifying output stream type and volume. |
void | release() Releases resources associated with this ToneGenerator object. |
boolean | startTone(int toneType, int durationMs) This method starts the playback of a tone of the specified type for the specified duration. |
boolean | startTone(int toneType) This method starts the playback of a tone of the specified type. |
void | stopTone() This method stops the tone currently playing playback. |