private void BtnStopSlideShow_Click(object sender, RoutedEventArgs e) { if (isStarted && isInCall) { //stop slideshow sdk.stopSlideShow(); } }