public void TestMethod1() { log.d("test start"); { var actor = "sora"; using var notificationSound = new NotificationSound(); var file = NotificationSound.liveStart; notificationSound.play(actor, file); Thread.Sleep(1000); notificationSound.play(actor, file); while (notificationSound.isPlaying(actor, file)) { Thread.Sleep(1000); } } log.d("test end"); }
public void TestMethod2() { log.d("test start"); { var actor = "akane"; using var notificationSound = new NotificationSound(); foreach (var c in NotificationSound.counts) { notificationSound.play(actor, c); } Thread.Sleep(5000); } log.d("test end"); }