danger.audio
Class PreviewTone

java.lang.Object
  |
  +--danger.app.Listener
        |
        +--danger.audio.PreviewTone

public class PreviewTone
extends Listener


Inner Class Summary
static interface PreviewTone.Loop
           
 
Method Summary
static Tone getPreviewingRingTone()
           
static boolean isPreviewingRingTone()
           
static void play(RingToneObject ringTone, Event callbackEvent)
           
static void play(RingToneObject ringTone, Event callbackEvent, int loop)
           
 boolean receiveEvent(Event e)
          Entry point for event processing.
static void stop()
           
 
Methods inherited from class danger.app.Listener
cancelEvents, receiveEventInternal, sendEvent, sendEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.