added new remote control commands

This commit is contained in:
Luke Pulverenti
2013-08-28 00:16:21 -04:00
parent b19d0a14d3
commit dfab2be6f5
8 changed files with 221 additions and 1 deletions

View File

@@ -76,6 +76,7 @@
<Compile Include="Querying\SimilarItemsQuery.cs" />
<Compile Include="Querying\UserQuery.cs" />
<Compile Include="Session\BrowseRequest.cs" />
<Compile Include="Session\MessageCommand.cs" />
<Compile Include="Session\PlayRequest.cs" />
<Compile Include="Session\PlaystateCommand.cs" />
<Compile Include="Entities\ImageDownloadOptions.cs" />
@@ -113,6 +114,7 @@
<Compile Include="Serialization\IJsonSerializer.cs" />
<Compile Include="Serialization\IXmlSerializer.cs" />
<Compile Include="Session\SessionInfoDto.cs" />
<Compile Include="Session\SystemCommand.cs" />
<Compile Include="Updates\CheckForUpdateResult.cs" />
<Compile Include="Updates\PackageTargetSystem.cs" />
<Compile Include="Updates\InstallationInfo.cs" />

View File

@@ -0,0 +1,12 @@

namespace MediaBrowser.Model.Session
{
public class MessageCommand
{
public string Header { get; set; }
public string Text { get; set; }
public long? TimeoutMs { get; set; }
}
}

View File

@@ -0,0 +1,14 @@

namespace MediaBrowser.Model.Session
{
public enum SystemCommand
{
GoHome,
GoToSettings,
VolumeUp,
VolumeDown,
Mute,
Unmute,
ToggleMute
}
}