/// <summary> /// Change the PlayMode on the device /// </summary> /// <param name="NewMode">Desired Mode</param> public void SetPlayMode(PlayMode NewMode) { CpAVTransport.Enum_CurrentPlayMode RetVal = CpAVTransport.Enum_CurrentPlayMode._UNSPECIFIED_; AVTransport.SetUnspecifiedValue("Enum_CurrentPlayMode", NewMode.ToString()); AVTransport.SetPlayMode((UInt32)this.AVTid, RetVal); }