Documentation ¶
Index ¶
- Constants
- func GetCurrentTransportActions(handle service.ActionHandler) *service.Action
- func GetDeviceCapabilities(handle service.ActionHandler) *service.Action
- func GetMediaInfo(handle service.ActionHandler) *service.Action
- func GetPositionInfo(handle service.ActionHandler) *service.Action
- func GetTransportInfo(handle service.ActionHandler) *service.Action
- func GetTransportSettings(handle service.ActionHandler) *service.Action
- func Next(handle service.ActionHandler) *service.Action
- func Pause(handle service.ActionHandler) *service.Action
- func Play(handle service.ActionHandler) *service.Action
- func Previous(handle service.ActionHandler) *service.Action
- func Record(handle service.ActionHandler) *service.Action
- func Seek(handle service.ActionHandler) *service.Action
- func ServiceController() *service.Controller
- func SetAVTransportURI(handle service.ActionHandler) *service.Action
- func SetNextAVTransportURI(handle service.ActionHandler) *service.Action
- func SetPlayMode(handle service.ActionHandler) *service.Action
- func SetRecordQualityMode(handle service.ActionHandler) *service.Action
- func Stop(handle service.ActionHandler) *service.Action
- type ArgInGetCurrentTransportActions
- type ArgInGetDeviceCapabilities
- type ArgInGetMediaInfo
- type ArgInGetPositionInfo
- type ArgInGetTransportInfo
- type ArgInGetTransportSettings
- type ArgInNext
- type ArgInPause
- type ArgInPlay
- type ArgInPrevious
- type ArgInRecord
- type ArgInSeek
- type ArgInSetAVTransportURI
- type ArgInSetNextAVTransportURI
- type ArgInSetPlayMode
- type ArgInSetRecordQualityMode
- type ArgInStop
- type ArgOutGetCurrentTransportActions
- type ArgOutGetDeviceCapabilities
- type ArgOutGetMediaInfo
- type ArgOutGetPositionInfo
- type ArgOutGetTransportInfo
- type ArgOutGetTransportSettings
- type ArgOutNext
- type ArgOutPause
- type ArgOutPlay
- type ArgOutPrevious
- type ArgOutRecord
- type ArgOutSeek
- type ArgOutSetAVTransportURI
- type ArgOutSetNextAVTransportURI
- type ArgOutSetPlayMode
- type ArgOutSetRecordQualityMode
- type ArgOutStop
Constants ¶
View Source
const ( NAME = service.ServiceName_AVTransport VERSION = 1 )
Variables ¶
This section is empty.
Functions ¶
func GetCurrentTransportActions ¶
func GetCurrentTransportActions(handle service.ActionHandler) *service.Action
func GetDeviceCapabilities ¶
func GetDeviceCapabilities(handle service.ActionHandler) *service.Action
func GetMediaInfo ¶
func GetMediaInfo(handle service.ActionHandler) *service.Action
func GetPositionInfo ¶
func GetPositionInfo(handle service.ActionHandler) *service.Action
func GetTransportInfo ¶
func GetTransportInfo(handle service.ActionHandler) *service.Action
func GetTransportSettings ¶
func GetTransportSettings(handle service.ActionHandler) *service.Action
func ServiceController ¶
func ServiceController() *service.Controller
func SetAVTransportURI ¶
func SetAVTransportURI(handle service.ActionHandler) *service.Action
func SetNextAVTransportURI ¶
func SetNextAVTransportURI(handle service.ActionHandler) *service.Action
func SetPlayMode ¶
func SetPlayMode(handle service.ActionHandler) *service.Action
func SetRecordQualityMode ¶
func SetRecordQualityMode(handle service.ActionHandler) *service.Action
Types ¶
type ArgInGetMediaInfo ¶
type ArgInGetPositionInfo ¶
type ArgInGetTransportInfo ¶
type ArgInPause ¶
type ArgInPrevious ¶
type ArgInRecord ¶
type ArgInSeek ¶
type ArgInSeek struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 Seek"` InstanceID uint32 `soap:"A_ARG_TYPE_InstanceID"` Target string `soap:"A_ARG_TYPE_SeekTarget"` Unit string `soap:"A_ARG_TYPE_SeekMode" allowed:"ABS_TIME,REL_TIME,ABS_COUNT,REL_COUNT,TRACK_NR,CHANNEL_FREQ,TAPE-INDEX,FRAME"` }
type ArgInSetAVTransportURI ¶
type ArgInSetPlayMode ¶
type ArgInSetRecordQualityMode ¶
type ArgInSetRecordQualityMode struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 SetRecordQualityMode"` InstanceID uint32 `soap:"A_ARG_TYPE_InstanceID"` NewRecordQualityMode string `soap:"CurrentRecordQualityMode" allowed:"0:EP,1:LP,2:SP,0:BASIC,1:MEDIUM,2:HIGH,NOT_IMPLEMENTED"` }
type ArgOutGetDeviceCapabilities ¶
type ArgOutGetDeviceCapabilities struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 GetDeviceCapabilitiesResponse"` PlayMedia string `soap:"PossiblePlaybackStorageMedia"` RecMedia string `soap:"PossibleRecordStorageMedia"` RecQualityModes string `soap:"PossibleRecordQualityModes"` }
type ArgOutGetMediaInfo ¶
type ArgOutGetMediaInfo struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 GetMediaInfoResponse"` CurrentURI string `soap:"AVTransportURI"` CurrentURIMetaData string `soap:"AVTransportURIMetaData"` MediaDuration string `soap:"CurrentMediaDuration"` NextURI string `soap:"NextAVTransportURI"` NextURIMetaData string `soap:"NextAVTransportURIMetaData"` NrTracks uint32 `soap:"NumberOfTracks" range:"0,0,1"` PlayMedium string `` /* 258-byte string literal not displayed */ RecordMedium string `` /* 256-byte string literal not displayed */ WriteStatus string `soap:"RecordMediumWriteStatus" allowed:"WRITABLE,PROTECTED,NOT_WRITABLE,UNKNOWN,NOT_IMPLEMENTED"` }
type ArgOutGetPositionInfo ¶
type ArgOutGetPositionInfo struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 GetPositionInfoResponse"` AbsCount int32 `soap:"AbsoluteCounterPosition"` AbsTime string `soap:"AbsoluteTimePosition"` RelCount int32 `soap:"RelativeCounterPosition"` RelTime string `soap:"RelativeTimePosition"` Track uint32 `soap:"CurrentTrack" range:"0,0,1"` TrackDuration string `soap:"CurrentTrackDuration"` TrackMetaData string `soap:"CurrentTrackMetaData"` TrackURI string `soap:"CurrentTrackURI"` }
type ArgOutGetTransportInfo ¶
type ArgOutGetTransportInfo struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 GetTransportInfoResponse"` CurrentSpeed string `soap:"TransportPlaySpeed" allowed:"1"` CurrentTransportState string `soap:"TransportState" allowed:"STOPPED,PAUSED_PLAYBACK,PAUSED_RECORDING,PLAYING,RECORDING,TRANSITIONING,NO_MEDIA_PRESENT"` CurrentTransportStatus string `soap:"TransportStatus" allowed:"OK,ERROR_OCCURRED"` }
type ArgOutGetTransportSettings ¶
type ArgOutGetTransportSettings struct { XMLName xml.Name `xml:"urn:schemas-upnp-org:service:AVTransport:1 GetTransportSettingsResponse"` PlayMode string `soap:"CurrentPlayMode NORMAL" allowed:"NORMAL,SHUFFLE,REPEAT_ONE,REPEAT_ALL,RANDOM,DIRECT_1,INTRO"` RecQualityMode string `soap:"CurrentRecordQualityMode" allowed:"0:EP,1:LP,2:SP,0:BASIC,1:MEDIUM,2:HIGH,NOT_IMPLEMENTED"` }
type ArgOutNext ¶
type ArgOutPause ¶
type ArgOutPlay ¶
type ArgOutPrevious ¶
type ArgOutRecord ¶
type ArgOutSeek ¶
type ArgOutSetAVTransportURI ¶
type ArgOutSetPlayMode ¶
type ArgOutStop ¶
Click to show internal directories.
Click to hide internal directories.