Packages

object MusicPlayer extends Observable

Manages application sounds.

Linear Supertypes
Observable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MusicPlayer
  2. Observable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val MaxVolume: Int
  5. val MinVolume: Int
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def changeVolume(volume: Double): Unit

    Change music and audio effects volume.

    Change music and audio effects volume.

    volume

    double value for volume, range 0 to 1

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getMediaPlayerStatus: Option[Status]

    Return current media player status

    Return current media player status

    returns

    Option of MediaPlayer.Status

  14. def getVolume: Double

    Get volume.

    Get volume.

    returns

    application volume

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def pause(): Unit

    Pause the music.

  21. def play(sound: SoundsType.Value): Unit

    Play a sound.

    Play a sound.

    sound

    the sound to play

  22. def resume(): Unit

    Resume the music if it is in pause state.

  23. def setController(controller: Controller): Unit

    Set controller.

  24. def subscribe(observer: SettingsEventObserver): Unit
    Definition Classes
    MusicPlayerObservable
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  30. implicit val who: String

Inherited from Observable

Inherited from AnyRef

Inherited from Any

Ungrouped