Exemplo n.º 1
0
 public MusicPlaySwitchedEventArgs(MusicPlayMode musicPlayMode, bool isDescending)
 {
     MusicPlayMode = musicPlayMode;
     IsDescending  = isDescending;
 }
Exemplo n.º 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="musicPlayMode"></param>
        /// <param name="isDown">true 向下 false 向上</param>
        public static void Invoke(MusicPlayMode musicPlayMode, bool isDown)
        {
            var e = new MusicPlaySwitchedEventArgs(musicPlayMode, isDown);

            MusicPlaySwitchedEvent?.Invoke(null, e);
        }