C# Class Jishi.SonosUPnP.SonosPlayer

Exibir arquivo Open project: jishi/Jishi.StreamToSonos Class Usage Examples

Public Methods

Method Description
EnqueueTrack ( string uri, string metadata ) : void
GetPositionInfo ( ) : PositionInfoResponse
Pause ( ) : void
Play ( ) : System.Threading.Tasks.Task
SetAvTransportUri ( string uri, string metaData = "" ) : System.Threading.Tasks.Task
SonosPlayer ( string uuid, string roomName, string sonosBaseUrl ) : System

Private Methods

Method Description
VerifySonosStatus ( ) : void

Method Details

EnqueueTrack() public method

public EnqueueTrack ( string uri, string metadata ) : void
uri string
metadata string
return void

GetPositionInfo() public method

public GetPositionInfo ( ) : PositionInfoResponse
return Jishi.SonosUPnP.MessageContracts.PositionInfoResponse

Pause() public method

public Pause ( ) : void
return void

Play() public method

public Play ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SetAvTransportUri() public method

public SetAvTransportUri ( string uri, string metaData = "" ) : System.Threading.Tasks.Task
uri string
metaData string
return System.Threading.Tasks.Task

SonosPlayer() public method

public SonosPlayer ( string uuid, string roomName, string sonosBaseUrl ) : System
uuid string
roomName string
sonosBaseUrl string
return System