Documentation
¶
Overview ¶
Package avtransport is a generated AVTransport package.
Index ¶
- Constants
- type AddMultipleURIsToQueueArgs
- type AddMultipleURIsToQueueResponse
- type AddURIToQueueArgs
- type AddURIToQueueResponse
- type AddURIToSavedQueueArgs
- type AddURIToSavedQueueResponse
- type BackupQueueArgs
- type BackupQueueResponse
- type BecomeCoordinatorOfStandaloneGroupArgs
- type BecomeCoordinatorOfStandaloneGroupResponse
- type BecomeGroupCoordinatorAndSourceArgs
- type BecomeGroupCoordinatorAndSourceResponse
- type BecomeGroupCoordinatorArgs
- type BecomeGroupCoordinatorResponse
- type ChangeCoordinatorArgs
- type ChangeCoordinatorResponse
- type ChangeTransportSettingsArgs
- type ChangeTransportSettingsResponse
- type ConfigureSleepTimerArgs
- type ConfigureSleepTimerResponse
- type CreateSavedQueueArgs
- type CreateSavedQueueResponse
- type DelegateGroupCoordinationToArgs
- type DelegateGroupCoordinationToResponse
- type EndDirectControlSessionArgs
- type EndDirectControlSessionResponse
- type GetCrossfadeModeArgs
- type GetCrossfadeModeResponse
- type GetCurrentTransportActionsArgs
- type GetCurrentTransportActionsResponse
- type GetDeviceCapabilitiesArgs
- type GetDeviceCapabilitiesResponse
- type GetMediaInfoArgs
- type GetMediaInfoResponse
- type GetPositionInfoArgs
- type GetPositionInfoResponse
- type GetRemainingSleepTimerDurationArgs
- type GetRemainingSleepTimerDurationResponse
- type GetRunningAlarmPropertiesArgs
- type GetRunningAlarmPropertiesResponse
- type GetTransportInfoArgs
- type GetTransportInfoResponse
- type GetTransportSettingsArgs
- type GetTransportSettingsResponse
- type LastChange
- type NextArgs
- type NextResponse
- type NotifyDeletedURIArgs
- type NotifyDeletedURIResponse
- type PauseArgs
- type PauseResponse
- type PlayArgs
- type PlayResponse
- type PreviousArgs
- type PreviousResponse
- type Property
- type RemoveAllTracksFromQueueArgs
- type RemoveAllTracksFromQueueResponse
- type RemoveTrackFromQueueArgs
- type RemoveTrackFromQueueResponse
- type RemoveTrackRangeFromQueueArgs
- type RemoveTrackRangeFromQueueResponse
- type ReorderTracksInQueueArgs
- type ReorderTracksInQueueResponse
- type ReorderTracksInSavedQueueArgs
- type ReorderTracksInSavedQueueResponse
- type RunAlarmArgs
- type RunAlarmResponse
- type SaveQueueArgs
- type SaveQueueResponse
- type SeekArgs
- type SeekResponse
- type Service
- func (s *Service) AddMultipleURIsToQueue(args *AddMultipleURIsToQueueArgs) (*AddMultipleURIsToQueueResponse, error)
- func (s *Service) AddURIToQueue(args *AddURIToQueueArgs) (*AddURIToQueueResponse, error)
- func (s *Service) AddURIToSavedQueue(args *AddURIToSavedQueueArgs) (*AddURIToSavedQueueResponse, error)
- func (s *Service) BackupQueue(args *BackupQueueArgs) (*BackupQueueResponse, error)
- func (s *Service) BecomeCoordinatorOfStandaloneGroup(args *BecomeCoordinatorOfStandaloneGroupArgs) (*BecomeCoordinatorOfStandaloneGroupResponse, error)
- func (s *Service) BecomeGroupCoordinator(args *BecomeGroupCoordinatorArgs) (*BecomeGroupCoordinatorResponse, error)
- func (s *Service) BecomeGroupCoordinatorAndSource(args *BecomeGroupCoordinatorAndSourceArgs) (*BecomeGroupCoordinatorAndSourceResponse, error)
- func (s *Service) ChangeCoordinator(args *ChangeCoordinatorArgs) (*ChangeCoordinatorResponse, error)
- func (s *Service) ChangeTransportSettings(args *ChangeTransportSettingsArgs) (*ChangeTransportSettingsResponse, error)
- func (s *Service) Client() *http.Client
- func (s *Service) ConfigureSleepTimer(args *ConfigureSleepTimerArgs) (*ConfigureSleepTimerResponse, error)
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) CreateSavedQueue(args *CreateSavedQueueArgs) (*CreateSavedQueueResponse, error)
- func (s *Service) DelegateGroupCoordinationTo(args *DelegateGroupCoordinationToArgs) (*DelegateGroupCoordinationToResponse, error)
- func (s *Service) EndDirectControlSession(args *EndDirectControlSessionArgs) (*EndDirectControlSessionResponse, error)
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) GetCrossfadeMode(args *GetCrossfadeModeArgs) (*GetCrossfadeModeResponse, error)
- func (s *Service) GetCurrentTransportActions(args *GetCurrentTransportActionsArgs) (*GetCurrentTransportActionsResponse, error)
- func (s *Service) GetDeviceCapabilities(args *GetDeviceCapabilitiesArgs) (*GetDeviceCapabilitiesResponse, error)
- func (s *Service) GetMediaInfo(args *GetMediaInfoArgs) (*GetMediaInfoResponse, error)
- func (s *Service) GetPositionInfo(args *GetPositionInfoArgs) (*GetPositionInfoResponse, error)
- func (s *Service) GetRemainingSleepTimerDuration(args *GetRemainingSleepTimerDurationArgs) (*GetRemainingSleepTimerDurationResponse, error)
- func (s *Service) GetRunningAlarmProperties(args *GetRunningAlarmPropertiesArgs) (*GetRunningAlarmPropertiesResponse, error)
- func (s *Service) GetTransportInfo(args *GetTransportInfoArgs) (*GetTransportInfoResponse, error)
- func (s *Service) GetTransportSettings(args *GetTransportSettingsArgs) (*GetTransportSettingsResponse, error)
- func (s *Service) Location() *url.URL
- func (s *Service) Next(args *NextArgs) (*NextResponse, error)
- func (s *Service) NotifyDeletedURI(args *NotifyDeletedURIArgs) (*NotifyDeletedURIResponse, error)
- func (zp *Service) ParseEvent(body []byte) []interface{}
- func (s *Service) Pause(args *PauseArgs) (*PauseResponse, error)
- func (s *Service) Play(args *PlayArgs) (*PlayResponse, error)
- func (s *Service) Previous(args *PreviousArgs) (*PreviousResponse, error)
- func (s *Service) RemoveAllTracksFromQueue(args *RemoveAllTracksFromQueueArgs) (*RemoveAllTracksFromQueueResponse, error)
- func (s *Service) RemoveTrackFromQueue(args *RemoveTrackFromQueueArgs) (*RemoveTrackFromQueueResponse, error)
- func (s *Service) RemoveTrackRangeFromQueue(args *RemoveTrackRangeFromQueueArgs) (*RemoveTrackRangeFromQueueResponse, error)
- func (s *Service) ReorderTracksInQueue(args *ReorderTracksInQueueArgs) (*ReorderTracksInQueueResponse, error)
- func (s *Service) ReorderTracksInSavedQueue(args *ReorderTracksInSavedQueueArgs) (*ReorderTracksInSavedQueueResponse, error)
- func (s *Service) RunAlarm(args *RunAlarmArgs) (*RunAlarmResponse, error)
- func (s *Service) SaveQueue(args *SaveQueueArgs) (*SaveQueueResponse, error)
- func (s *Service) Seek(args *SeekArgs) (*SeekResponse, error)
- func (s *Service) SetAVTransportURI(args *SetAVTransportURIArgs) (*SetAVTransportURIResponse, error)
- func (s *Service) SetCrossfadeMode(args *SetCrossfadeModeArgs) (*SetCrossfadeModeResponse, error)
- func (s *Service) SetNextAVTransportURI(args *SetNextAVTransportURIArgs) (*SetNextAVTransportURIResponse, error)
- func (s *Service) SetPlayMode(args *SetPlayModeArgs) (*SetPlayModeResponse, error)
- func (s *Service) SnoozeAlarm(args *SnoozeAlarmArgs) (*SnoozeAlarmResponse, error)
- func (s *Service) StartAutoplay(args *StartAutoplayArgs) (*StartAutoplayResponse, error)
- func (s *Service) Stop(args *StopArgs) (*StopResponse, error)
- type ServiceOption
- type SetAVTransportURIArgs
- type SetAVTransportURIResponse
- type SetCrossfadeModeArgs
- type SetCrossfadeModeResponse
- type SetNextAVTransportURIArgs
- type SetNextAVTransportURIResponse
- type SetPlayModeArgs
- type SetPlayModeResponse
- type SnoozeAlarmArgs
- type SnoozeAlarmResponse
- type StartAutoplayArgs
- type StartAutoplayResponse
- type StopArgs
- type StopResponse
- type UpnpEvent
Constants ¶
View Source
const ( ServiceURN = "urn:schemas-upnp-org:service:AVTransport:1" EncodingSchema = "http://schemas.xmlsoap.org/soap/encoding/" EnvelopeSchema = "http://schemas.xmlsoap.org/soap/envelope/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMultipleURIsToQueueArgs ¶
type AddMultipleURIsToQueueArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` UpdateID uint32 `xml:"UpdateID"` NumberOfURIs uint32 `xml:"NumberOfURIs"` EnqueuedURIs string `xml:"EnqueuedURIs"` EnqueuedURIsMetaData string `xml:"EnqueuedURIsMetaData"` ContainerURI string `xml:"ContainerURI"` ContainerMetaData string `xml:"ContainerMetaData"` DesiredFirstTrackNumberEnqueued uint32 `xml:"DesiredFirstTrackNumberEnqueued"` EnqueueAsNext bool `xml:"EnqueueAsNext"` }
type AddURIToQueueArgs ¶
type AddURIToQueueArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` EnqueuedURI string `xml:"EnqueuedURI"` EnqueuedURIMetaData string `xml:"EnqueuedURIMetaData"` DesiredFirstTrackNumberEnqueued uint32 `xml:"DesiredFirstTrackNumberEnqueued"` EnqueueAsNext bool `xml:"EnqueueAsNext"` }
type AddURIToQueueResponse ¶
type AddURIToSavedQueueArgs ¶
type AddURIToSavedQueueArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` ObjectID string `xml:"ObjectID"` UpdateID uint32 `xml:"UpdateID"` EnqueuedURI string `xml:"EnqueuedURI"` EnqueuedURIMetaData string `xml:"EnqueuedURIMetaData"` AddAtIndex uint32 `xml:"AddAtIndex"` }
type BackupQueueArgs ¶
type BackupQueueResponse ¶
type BackupQueueResponse struct { }
type BecomeGroupCoordinatorAndSourceArgs ¶
type BecomeGroupCoordinatorAndSourceArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` CurrentCoordinator string `xml:"CurrentCoordinator"` CurrentGroupID string `xml:"CurrentGroupID"` OtherMembers string `xml:"OtherMembers"` CurrentURI string `xml:"CurrentURI"` CurrentURIMetaData string `xml:"CurrentURIMetaData"` SleepTimerState string `xml:"SleepTimerState"` AlarmState string `xml:"AlarmState"` StreamRestartState string `xml:"StreamRestartState"` CurrentAVTTrackList string `xml:"CurrentAVTTrackList"` CurrentQueueTrackList string `xml:"CurrentQueueTrackList"` CurrentSourceState string `xml:"CurrentSourceState"` ResumePlayback bool `xml:"ResumePlayback"` }
type BecomeGroupCoordinatorAndSourceResponse ¶
type BecomeGroupCoordinatorAndSourceResponse struct { }
type BecomeGroupCoordinatorArgs ¶
type BecomeGroupCoordinatorArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` CurrentCoordinator string `xml:"CurrentCoordinator"` CurrentGroupID string `xml:"CurrentGroupID"` OtherMembers string `xml:"OtherMembers"` TransportSettings string `xml:"TransportSettings"` CurrentURI string `xml:"CurrentURI"` CurrentURIMetaData string `xml:"CurrentURIMetaData"` SleepTimerState string `xml:"SleepTimerState"` AlarmState string `xml:"AlarmState"` StreamRestartState string `xml:"StreamRestartState"` CurrentQueueTrackList string `xml:"CurrentQueueTrackList"` CurrentVLIState string `xml:"CurrentVLIState"` }
type BecomeGroupCoordinatorResponse ¶
type BecomeGroupCoordinatorResponse struct { }
type ChangeCoordinatorArgs ¶
type ChangeCoordinatorArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` CurrentCoordinator string `xml:"CurrentCoordinator"` NewCoordinator string `xml:"NewCoordinator"` NewTransportSettings string `xml:"NewTransportSettings"` CurrentAVTransportURI string `xml:"CurrentAVTransportURI"` }
type ChangeCoordinatorResponse ¶
type ChangeCoordinatorResponse struct { }
type ChangeTransportSettingsResponse ¶
type ChangeTransportSettingsResponse struct { }
type ConfigureSleepTimerArgs ¶
type ConfigureSleepTimerResponse ¶
type ConfigureSleepTimerResponse struct { }
type CreateSavedQueueArgs ¶
type DelegateGroupCoordinationToResponse ¶
type DelegateGroupCoordinationToResponse struct { }
type EndDirectControlSessionResponse ¶
type EndDirectControlSessionResponse struct { }
type GetCrossfadeModeArgs ¶
type GetCrossfadeModeResponse ¶
type GetCrossfadeModeResponse struct {
CrossfadeMode bool `xml:"CrossfadeMode"`
}
type GetCurrentTransportActionsResponse ¶
type GetCurrentTransportActionsResponse struct {
Actions string `xml:"Actions"`
}
type GetMediaInfoArgs ¶
type GetMediaInfoResponse ¶
type GetMediaInfoResponse struct { NrTracks uint32 `xml:"NrTracks"` MediaDuration string `xml:"MediaDuration"` CurrentURI string `xml:"CurrentURI"` CurrentURIMetaData string `xml:"CurrentURIMetaData"` NextURI string `xml:"NextURI"` NextURIMetaData string `xml:"NextURIMetaData"` PlayMedium string `xml:"PlayMedium"` RecordMedium string `xml:"RecordMedium"` WriteStatus string `xml:"WriteStatus"` }
type GetPositionInfoArgs ¶
type GetPositionInfoResponse ¶
type GetPositionInfoResponse struct { Track uint32 `xml:"Track"` TrackDuration string `xml:"TrackDuration"` TrackMetaData string `xml:"TrackMetaData"` TrackURI string `xml:"TrackURI"` RelTime string `xml:"RelTime"` AbsTime string `xml:"AbsTime"` RelCount int32 `xml:"RelCount"` AbsCount int32 `xml:"AbsCount"` }
type GetTransportInfoArgs ¶
type LastChange ¶
type LastChange string
type NextResponse ¶
type NextResponse struct { }
type NotifyDeletedURIArgs ¶
type NotifyDeletedURIResponse ¶
type NotifyDeletedURIResponse struct { }
type PauseResponse ¶
type PauseResponse struct { }
type PlayResponse ¶
type PlayResponse struct { }
type PreviousArgs ¶
type PreviousResponse ¶
type PreviousResponse struct { }
type Property ¶
type Property struct { XMLName xml.Name `xml:"property"` LastChange *LastChange `xml:"LastChange"` }
type RemoveAllTracksFromQueueResponse ¶
type RemoveAllTracksFromQueueResponse struct { }
type RemoveTrackFromQueueResponse ¶
type RemoveTrackFromQueueResponse struct { }
type RemoveTrackRangeFromQueueResponse ¶
type RemoveTrackRangeFromQueueResponse struct {
NewUpdateID uint32 `xml:"NewUpdateID"`
}
type ReorderTracksInQueueResponse ¶
type ReorderTracksInQueueResponse struct { }
type RunAlarmArgs ¶
type RunAlarmArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` AlarmID uint32 `xml:"AlarmID"` LoggedStartTime string `xml:"LoggedStartTime"` Duration string `xml:"Duration"` ProgramURI string `xml:"ProgramURI"` ProgramMetaData string `xml:"ProgramMetaData"` // Allowed Value: NORMAL // Allowed Value: REPEAT_ALL // Allowed Value: REPEAT_ONE // Allowed Value: SHUFFLE_NOREPEAT // Allowed Value: SHUFFLE // Allowed Value: SHUFFLE_REPEAT_ONE PlayMode string `xml:"PlayMode"` Volume uint16 `xml:"Volume"` IncludeLinkedZones bool `xml:"IncludeLinkedZones"` }
type RunAlarmResponse ¶
type RunAlarmResponse struct { }
type SaveQueueArgs ¶
type SaveQueueResponse ¶
type SaveQueueResponse struct {
AssignedObjectID string `xml:"AssignedObjectID"`
}
type SeekResponse ¶
type SeekResponse struct { }
type Service ¶
type Service struct { LastChange *LastChange // contains filtered or unexported fields }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) AddMultipleURIsToQueue ¶
func (s *Service) AddMultipleURIsToQueue(args *AddMultipleURIsToQueueArgs) (*AddMultipleURIsToQueueResponse, error)
func (*Service) AddURIToQueue ¶
func (s *Service) AddURIToQueue(args *AddURIToQueueArgs) (*AddURIToQueueResponse, error)
func (*Service) AddURIToSavedQueue ¶
func (s *Service) AddURIToSavedQueue(args *AddURIToSavedQueueArgs) (*AddURIToSavedQueueResponse, error)
func (*Service) BackupQueue ¶
func (s *Service) BackupQueue(args *BackupQueueArgs) (*BackupQueueResponse, error)
func (*Service) BecomeCoordinatorOfStandaloneGroup ¶
func (s *Service) BecomeCoordinatorOfStandaloneGroup(args *BecomeCoordinatorOfStandaloneGroupArgs) (*BecomeCoordinatorOfStandaloneGroupResponse, error)
func (*Service) BecomeGroupCoordinator ¶
func (s *Service) BecomeGroupCoordinator(args *BecomeGroupCoordinatorArgs) (*BecomeGroupCoordinatorResponse, error)
func (*Service) BecomeGroupCoordinatorAndSource ¶
func (s *Service) BecomeGroupCoordinatorAndSource(args *BecomeGroupCoordinatorAndSourceArgs) (*BecomeGroupCoordinatorAndSourceResponse, error)
func (*Service) ChangeCoordinator ¶
func (s *Service) ChangeCoordinator(args *ChangeCoordinatorArgs) (*ChangeCoordinatorResponse, error)
func (*Service) ChangeTransportSettings ¶
func (s *Service) ChangeTransportSettings(args *ChangeTransportSettingsArgs) (*ChangeTransportSettingsResponse, error)
func (*Service) ConfigureSleepTimer ¶
func (s *Service) ConfigureSleepTimer(args *ConfigureSleepTimerArgs) (*ConfigureSleepTimerResponse, error)
func (*Service) ControlEndpoint ¶
func (*Service) CreateSavedQueue ¶
func (s *Service) CreateSavedQueue(args *CreateSavedQueueArgs) (*CreateSavedQueueResponse, error)
func (*Service) DelegateGroupCoordinationTo ¶
func (s *Service) DelegateGroupCoordinationTo(args *DelegateGroupCoordinationToArgs) (*DelegateGroupCoordinationToResponse, error)
func (*Service) EndDirectControlSession ¶
func (s *Service) EndDirectControlSession(args *EndDirectControlSessionArgs) (*EndDirectControlSessionResponse, error)
func (*Service) EventEndpoint ¶
func (*Service) GetCrossfadeMode ¶
func (s *Service) GetCrossfadeMode(args *GetCrossfadeModeArgs) (*GetCrossfadeModeResponse, error)
func (*Service) GetCurrentTransportActions ¶
func (s *Service) GetCurrentTransportActions(args *GetCurrentTransportActionsArgs) (*GetCurrentTransportActionsResponse, error)
func (*Service) GetDeviceCapabilities ¶
func (s *Service) GetDeviceCapabilities(args *GetDeviceCapabilitiesArgs) (*GetDeviceCapabilitiesResponse, error)
func (*Service) GetMediaInfo ¶
func (s *Service) GetMediaInfo(args *GetMediaInfoArgs) (*GetMediaInfoResponse, error)
func (*Service) GetPositionInfo ¶
func (s *Service) GetPositionInfo(args *GetPositionInfoArgs) (*GetPositionInfoResponse, error)
func (*Service) GetRemainingSleepTimerDuration ¶
func (s *Service) GetRemainingSleepTimerDuration(args *GetRemainingSleepTimerDurationArgs) (*GetRemainingSleepTimerDurationResponse, error)
func (*Service) GetRunningAlarmProperties ¶
func (s *Service) GetRunningAlarmProperties(args *GetRunningAlarmPropertiesArgs) (*GetRunningAlarmPropertiesResponse, error)
func (*Service) GetTransportInfo ¶
func (s *Service) GetTransportInfo(args *GetTransportInfoArgs) (*GetTransportInfoResponse, error)
func (*Service) GetTransportSettings ¶
func (s *Service) GetTransportSettings(args *GetTransportSettingsArgs) (*GetTransportSettingsResponse, error)
func (*Service) NotifyDeletedURI ¶
func (s *Service) NotifyDeletedURI(args *NotifyDeletedURIArgs) (*NotifyDeletedURIResponse, error)
func (*Service) ParseEvent ¶
func (*Service) Previous ¶
func (s *Service) Previous(args *PreviousArgs) (*PreviousResponse, error)
func (*Service) RemoveAllTracksFromQueue ¶
func (s *Service) RemoveAllTracksFromQueue(args *RemoveAllTracksFromQueueArgs) (*RemoveAllTracksFromQueueResponse, error)
func (*Service) RemoveTrackFromQueue ¶
func (s *Service) RemoveTrackFromQueue(args *RemoveTrackFromQueueArgs) (*RemoveTrackFromQueueResponse, error)
func (*Service) RemoveTrackRangeFromQueue ¶
func (s *Service) RemoveTrackRangeFromQueue(args *RemoveTrackRangeFromQueueArgs) (*RemoveTrackRangeFromQueueResponse, error)
func (*Service) ReorderTracksInQueue ¶
func (s *Service) ReorderTracksInQueue(args *ReorderTracksInQueueArgs) (*ReorderTracksInQueueResponse, error)
func (*Service) ReorderTracksInSavedQueue ¶
func (s *Service) ReorderTracksInSavedQueue(args *ReorderTracksInSavedQueueArgs) (*ReorderTracksInSavedQueueResponse, error)
func (*Service) RunAlarm ¶
func (s *Service) RunAlarm(args *RunAlarmArgs) (*RunAlarmResponse, error)
func (*Service) SaveQueue ¶
func (s *Service) SaveQueue(args *SaveQueueArgs) (*SaveQueueResponse, error)
func (*Service) SetAVTransportURI ¶
func (s *Service) SetAVTransportURI(args *SetAVTransportURIArgs) (*SetAVTransportURIResponse, error)
func (*Service) SetCrossfadeMode ¶
func (s *Service) SetCrossfadeMode(args *SetCrossfadeModeArgs) (*SetCrossfadeModeResponse, error)
func (*Service) SetNextAVTransportURI ¶
func (s *Service) SetNextAVTransportURI(args *SetNextAVTransportURIArgs) (*SetNextAVTransportURIResponse, error)
func (*Service) SetPlayMode ¶
func (s *Service) SetPlayMode(args *SetPlayModeArgs) (*SetPlayModeResponse, error)
func (*Service) SnoozeAlarm ¶
func (s *Service) SnoozeAlarm(args *SnoozeAlarmArgs) (*SnoozeAlarmResponse, error)
func (*Service) StartAutoplay ¶
func (s *Service) StartAutoplay(args *StartAutoplayArgs) (*StartAutoplayResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SetAVTransportURIArgs ¶
type SetAVTransportURIResponse ¶
type SetAVTransportURIResponse struct { }
type SetCrossfadeModeArgs ¶
type SetCrossfadeModeResponse ¶
type SetCrossfadeModeResponse struct { }
type SetNextAVTransportURIResponse ¶
type SetNextAVTransportURIResponse struct { }
type SetPlayModeArgs ¶
type SetPlayModeArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` // Allowed Value: NORMAL // Allowed Value: REPEAT_ALL // Allowed Value: REPEAT_ONE // Allowed Value: SHUFFLE_NOREPEAT // Allowed Value: SHUFFLE // Allowed Value: SHUFFLE_REPEAT_ONE NewPlayMode string `xml:"NewPlayMode"` }
type SetPlayModeResponse ¶
type SetPlayModeResponse struct { }
type SnoozeAlarmArgs ¶
type SnoozeAlarmResponse ¶
type SnoozeAlarmResponse struct { }
type StartAutoplayArgs ¶
type StartAutoplayArgs struct { Xmlns string `xml:"xmlns:u,attr"` InstanceID uint32 `xml:"InstanceID"` ProgramURI string `xml:"ProgramURI"` ProgramMetaData string `xml:"ProgramMetaData"` Volume uint16 `xml:"Volume"` IncludeLinkedZones bool `xml:"IncludeLinkedZones"` ResetVolumeAfter bool `xml:"ResetVolumeAfter"` }
type StartAutoplayResponse ¶
type StartAutoplayResponse struct { }
type StopResponse ¶
type StopResponse struct { }
Click to show internal directories.
Click to hide internal directories.