public void ChannelDown() { try { TVGraph.ChannelDown(); } catch (Exception exception) { AppLogger.Message(String.Format("ChannelDown failed because {0}", exception.Message)); } }
public void SetChannel(int channelNum) { try { TVGraph.SetChannel(channelNum); } catch (Exception exception) { Debug.WriteLine(String.Format("SetChannel failed because {0}", exception.Message)); throw new Exception("SetChannel failed because " + exception.Message); } }
public void SetTVMode(TVMode tvMode, bool connectAudio) { try { TVGraph.SetTVMode(tvMode, connectAudio); } catch (Exception exception) { Debug.WriteLine(String.Format("SetTVMode failed because {0}", exception.Message)); throw new Exception("SetTVMode failed because " + exception.Message); } }
public void StartChannelScan() { TVGraph.StartChannelScan(); }
public bool IsSignalPresent() { AMTunerSignalStrength signalStrength = TVGraph.GetSignalStrength(); return(signalStrength == AMTunerSignalStrength.SignalPresent); }