void function ( State arg0 , int arg1 ) { mSoundMap . put ( arg0 , arg1 ) ; }
set the sounds to be played when a pull event happens . you specify which sound plays for which events by calling this method multiple times for each event . if you 've already set a sound for a certain event , and add another sound for that event , only the new sound will be played . concode_field_sep MediaPlayer mCurrentMediaPlayer concode_elem_sep HashMap<State,Integer> mSoundMap concode_elem_sep Context mContext concode_field_sep void onPullEvent concode_elem_sep void playSound concode_elem_sep void clearSounds concode_elem_sep MediaPlayer getCurrentMediaPlayer