Exemplo n.º 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;
            }
        }
Exemplo n.º 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
    }
Exemplo n.º 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
    }
Exemplo n.º 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;
     }
 }