private void Uninitialize() { StatusTextBlock.Text = ""; if (m_SDKCustomEffects != null) { m_SDKCustomEffects.Uninitialize(); m_SDKCustomEffects = null; } }
private async Task Initialize() { Busy = true; m_SDKCustomEffects = new SDKCustomEffects(); await LoadLocalImageNames(); m_CurrentLocalImageIndex = m_LocalImages.Count() - 1; // Start with the last image in the list m_LocalPictureName = m_LocalImages[m_CurrentLocalImageIndex]; await LoadLocalImage(); // Start off at the last effect m_SDKCustomEffects.PreviousEffect(); StatusTextBlock.Text = m_SDKCustomEffects.EffectName; await ProcessImage(); Busy = false; }