danger.audio
Class PreviewTone
java.lang.Object
|
+--danger.app.Listener
|
+--danger.audio.PreviewTone
- public class PreviewTone
- extends Listener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
play
public static void play(RingToneObject ringTone,
Event callbackEvent)
play
public static void play(RingToneObject ringTone,
Event callbackEvent,
int loop)
stop
public static void stop()
getPreviewingRingTone
public static Tone getPreviewingRingTone()
isPreviewingRingTone
public static boolean isPreviewingRingTone()
receiveEvent
public boolean receiveEvent(Event e)
- Description copied from class:
Listener
- Entry point for event processing.
Default behaviour is to do nothing and return false.
Normally this method is called from a Dispatcher when it
discovers an Event in its queue that is targetted at this
Listener.
- Overrides:
receiveEvent in class Listener
Danger Confidential. Copyright © 2000-2003, Danger Inc.