Difference between revisions of "Developer:Davaar:ReceiverService"
(→Architectural Overview) |
(→Actions) |
||
Line 4: | Line 4: | ||
= Actions = | = Actions = | ||
− | == | + | == Sender == |
− | + | Report the Uri and Metadata of the current sender. | |
− | + | ==SetSender== | |
+ | Set the Uri and Metadata of the current sender. | ||
− | + | The Metadata must have originated from a device bearing the [[Developer:Davaar:SenderService|Sender service]]. | |
− | |||
− | + | The Uri must be the result of applying this receiver's ProtocolInfo to this Metadata. | |
− | |||
− | == | + | ==ProtocolInfo== |
− | + | Report the receiver's protocol info. | |
− | == | + | ==TransportState== |
− | |||
− | + | Report the current transport state, which can be: 'Playing', 'Paused', 'Stopped', or 'Buffering'. | |
− | == | + | ==Play== |
− | + | Play the current sender | |
− | + | ==Stop== | |
− | + | Stop playing the current sender | |
− | |||
− | |||
− | |||
= Technical Details = | = Technical Details = |
Revision as of 14:58, 24 November 2010
Contents
Architectural Overview
The Receiver service provides the means for controlling a Receiver source. If a device's Product service reports a source of type 'Receiver', then that device is guaranteed to bear the Receiver service.
Actions
Sender
Report the Uri and Metadata of the current sender.
SetSender
Set the Uri and Metadata of the current sender.
The Metadata must have originated from a device bearing the Sender service.
The Uri must be the result of applying this receiver's ProtocolInfo to this Metadata.
ProtocolInfo
Report the receiver's protocol info.
TransportState
Report the current transport state, which can be: 'Playing', 'Paused', 'Stopped', or 'Buffering'.
Play
Play the current sender
Stop
Stop playing the current sender
Technical Details
Domain : av.openhome.org
Name : Sender
Version : 1