Class ShadowSoundPool.Playback

  • Enclosing class:
    ShadowSoundPool

    public static final class ShadowSoundPool.Playback
    extends java.lang.Object
    Record of a single call to SoundPool.play(int, float, float, int, int, float).
    • Constructor Summary

      Constructors 
      Constructor Description
      Playback​(int soundId, float leftVolume, float rightVolume, int priority, int loop, float rate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • soundId

        public final int soundId
      • leftVolume

        public final float leftVolume
      • rightVolume

        public final float rightVolume
      • priority

        public final int priority
      • loop

        public final int loop
      • rate

        public final float rate
    • Constructor Detail

      • Playback

        public Playback​(int soundId,
                        float leftVolume,
                        float rightVolume,
                        int priority,
                        int loop,
                        float rate)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object