public override void Execute()
        {
            PlaySoundAction PlaySound = new PlaySoundAction()
            {
                FileName = "Danger.mp3"
            };

            PlaySound.Execute();
            BandManagement.SendNotification("Stop now! Stop now!", Microsoft.Band.Portable.Notifications.VibrationType.NotificationAlarm);
        }
예제 #2
0
        public override void Execute()
        {
            PlaySoundAction PlaySound = new PlaySoundAction()
            {
                FileName = "Come_on.mp3"
            };

            PlaySound.Execute();
            BandManagement.SendNotification("Come on, close to being goal", Microsoft.Band.Portable.Notifications.VibrationType.RampUp);
        }