ACAT.Lib.Extension.DialogUtils.LaunchVolumeSettingsAgent C# (CSharp) Méthode

LaunchVolumeSettingsAgent() public static méthode

Runs the volume settings agent to control the volume of text to speech
public static LaunchVolumeSettingsAgent ( ) : void
Résultat void
        public static async void LaunchVolumeSettingsAgent()
        {
            var volumeSettingsAgent = Context.AppAgentMgr.GetAgentByName("Volume Settings Agent");
            if (volumeSettingsAgent == null)
            {
                return;
            }

            await Context.AppAgentMgr.ActivateAgent(volumeSettingsAgent as IFunctionalAgent);
        }