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; } }
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 }
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; } }