Example #1
0
        public static void vibrateBand(VibrateBand vibrationType)
        {
            switch (vibrationType)
            {
            case VibrateBand.Win:
                bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.ThreeToneHigh);
                break;

            case VibrateBand.HitBall:
                bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.OneToneHigh);
                break;
            }
        }
Example #2
0
    public void CauseVibration(VibrateBand vibrationType)
    {
#if REAL_APP
        switch (vibrationType)
        {
        case VibrateBand.Win:
            bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.ThreeToneHigh);
            break;

        case VibrateBand.HitBall:
            bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.OneToneHigh);
            break;
        }
#endif
    }
Example #3
0
    public void CauseVibration(VibrateBand vibrationType)
    {
#if REAL_APP
        switch (vibrationType)
        {
            case VibrateBand.Win:
                bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.ThreeToneHigh);
                break;
            case VibrateBand.HitBall:
                bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.OneToneHigh);
                break;
        }
#endif
    }
Example #4
0
 public static void vibrateBand(VibrateBand vibrationType) {
     switch(vibrationType)
     {
         case VibrateBand.Win:
             bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.ThreeToneHigh);
             break;
         case VibrateBand.HitBall:
             bandClient.NotificationManager.VibrateAsync(Microsoft.Band.Notifications.VibrationType.OneToneHigh);
             break;
     }
 }