Documentation
¶
Overview ¶
Package deviceproperties is a generated DeviceProperties package.
Index ¶
- Constants
- type AddBondedZonesArgs
- type AddBondedZonesResponse
- type AddHTSatelliteArgs
- type AddHTSatelliteResponse
- type AirPlayEnabled
- type AvailableRoomCalibration
- type BehindWifiExtender
- type ButtonLockStateEnum
- type ChannelFreq
- type ChannelMapSet
- type ConfigMode
- type Configuration
- type CreateStereoPairArgs
- type CreateStereoPairResponse
- type EnterConfigModeArgs
- type EnterConfigModeResponse
- type EthLink
- type ExitConfigModeArgs
- type ExitConfigModeResponse
- type GetAutoplayLinkedZonesArgs
- type GetAutoplayLinkedZonesResponse
- type GetAutoplayRoomUUIDArgs
- type GetAutoplayRoomUUIDResponse
- type GetAutoplayVolumeArgs
- type GetAutoplayVolumeResponse
- type GetButtonLockStateArgs
- type GetButtonLockStateResponse
- type GetButtonStateArgs
- type GetButtonStateResponse
- type GetHouseholdIDArgs
- type GetHouseholdIDResponse
- type GetLEDStateArgs
- type GetLEDStateResponse
- type GetUseAutoplayVolumeArgs
- type GetUseAutoplayVolumeResponse
- type GetZoneAttributesArgs
- type GetZoneAttributesResponse
- type GetZoneInfoArgs
- type GetZoneInfoResponse
- type HTBondedZoneCommitState
- type HTSatChanMapSet
- type HasConfiguredSSID
- type HdmiCecAvailable
- type Icon
- type Invisible
- type IsIdle
- type IsZoneBridge
- type LEDStateEnum
- type LastChangedPlayState
- type MicEnabled
- type MoreInfo
- type Orientation
- type Property
- type RemoveBondedZonesArgs
- type RemoveBondedZonesResponse
- type RemoveHTSatelliteArgs
- type RemoveHTSatelliteResponse
- type RoomCalibrationState
- type RoomDetectionStartChirpingArgs
- type RoomDetectionStartChirpingResponse
- type RoomDetectionStopChirpingArgs
- type RoomDetectionStopChirpingResponse
- type SecureRegState
- type SeparateStereoPairArgs
- type SeparateStereoPairResponse
- type Service
- func (s *Service) AddBondedZones(args *AddBondedZonesArgs) (*AddBondedZonesResponse, error)
- func (s *Service) AddHTSatellite(args *AddHTSatelliteArgs) (*AddHTSatelliteResponse, error)
- func (s *Service) Client() *http.Client
- func (s *Service) ControlEndpoint() *url.URL
- func (s *Service) CreateStereoPair(args *CreateStereoPairArgs) (*CreateStereoPairResponse, error)
- func (s *Service) EnterConfigMode(args *EnterConfigModeArgs) (*EnterConfigModeResponse, error)
- func (s *Service) EventEndpoint() *url.URL
- func (s *Service) ExitConfigMode(args *ExitConfigModeArgs) (*ExitConfigModeResponse, error)
- func (s *Service) GetAutoplayLinkedZones(args *GetAutoplayLinkedZonesArgs) (*GetAutoplayLinkedZonesResponse, error)
- func (s *Service) GetAutoplayRoomUUID(args *GetAutoplayRoomUUIDArgs) (*GetAutoplayRoomUUIDResponse, error)
- func (s *Service) GetAutoplayVolume(args *GetAutoplayVolumeArgs) (*GetAutoplayVolumeResponse, error)
- func (s *Service) GetButtonLockState(args *GetButtonLockStateArgs) (*GetButtonLockStateResponse, error)
- func (s *Service) GetButtonState(args *GetButtonStateArgs) (*GetButtonStateResponse, error)
- func (s *Service) GetHouseholdID(args *GetHouseholdIDArgs) (*GetHouseholdIDResponse, error)
- func (s *Service) GetLEDState(args *GetLEDStateArgs) (*GetLEDStateResponse, error)
- func (s *Service) GetUseAutoplayVolume(args *GetUseAutoplayVolumeArgs) (*GetUseAutoplayVolumeResponse, error)
- func (s *Service) GetZoneAttributes(args *GetZoneAttributesArgs) (*GetZoneAttributesResponse, error)
- func (s *Service) GetZoneInfo(args *GetZoneInfoArgs) (*GetZoneInfoResponse, error)
- func (s *Service) Location() *url.URL
- func (zp *Service) ParseEvent(body []byte) []interface{}
- func (s *Service) RemoveBondedZones(args *RemoveBondedZonesArgs) (*RemoveBondedZonesResponse, error)
- func (s *Service) RemoveHTSatellite(args *RemoveHTSatelliteArgs) (*RemoveHTSatelliteResponse, error)
- func (s *Service) RoomDetectionStartChirping(args *RoomDetectionStartChirpingArgs) (*RoomDetectionStartChirpingResponse, error)
- func (s *Service) RoomDetectionStopChirping(args *RoomDetectionStopChirpingArgs) (*RoomDetectionStopChirpingResponse, error)
- func (s *Service) SeparateStereoPair(args *SeparateStereoPairArgs) (*SeparateStereoPairResponse, error)
- func (s *Service) SetAutoplayLinkedZones(args *SetAutoplayLinkedZonesArgs) (*SetAutoplayLinkedZonesResponse, error)
- func (s *Service) SetAutoplayRoomUUID(args *SetAutoplayRoomUUIDArgs) (*SetAutoplayRoomUUIDResponse, error)
- func (s *Service) SetAutoplayVolume(args *SetAutoplayVolumeArgs) (*SetAutoplayVolumeResponse, error)
- func (s *Service) SetButtonLockState(args *SetButtonLockStateArgs) (*SetButtonLockStateResponse, error)
- func (s *Service) SetLEDState(args *SetLEDStateArgs) (*SetLEDStateResponse, error)
- func (s *Service) SetUseAutoplayVolume(args *SetUseAutoplayVolumeArgs) (*SetUseAutoplayVolumeResponse, error)
- func (s *Service) SetZoneAttributes(args *SetZoneAttributesArgs) (*SetZoneAttributesResponse, error)
- type ServiceOption
- type SetAutoplayLinkedZonesArgs
- type SetAutoplayLinkedZonesResponse
- type SetAutoplayRoomUUIDArgs
- type SetAutoplayRoomUUIDResponse
- type SetAutoplayVolumeArgs
- type SetAutoplayVolumeResponse
- type SetButtonLockStateArgs
- type SetButtonLockStateResponse
- type SetLEDStateArgs
- type SetLEDStateResponse
- type SetUseAutoplayVolumeArgs
- type SetUseAutoplayVolumeResponse
- type SetZoneAttributesArgs
- type SetZoneAttributesResponse
- type SettingsReplicationState
- type SupportsAudioClip
- type SupportsAudioIn
- type TVConfigurationError
- type UpnpEvent
- type VoiceConfigState
- type WifiEnabled
- type WirelessLeafOnly
- type WirelessMode
- type ZoneName
Constants ¶
const ( ServiceURN = "urn:schemas-upnp-org:service:DeviceProperties: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 AddBondedZonesArgs ¶
type AddBondedZonesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
ChannelMapSet string `xml:"ChannelMapSet"`
}
AddBondedZones Argument type.
type AddHTSatelliteArgs ¶
type AddHTSatelliteArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
HTSatChanMapSet string `xml:"HTSatChanMapSet"`
}
AddHTSatellite Argument type.
type AirPlayEnabled ¶
type AirPlayEnabled bool
type AvailableRoomCalibration ¶
type AvailableRoomCalibration string
type BehindWifiExtender ¶
type BehindWifiExtender uint32
type ButtonLockStateEnum ¶
type ButtonLockStateEnum string
const ( ButtonLockState_On ButtonLockStateEnum = "On" ButtonLockState_Off ButtonLockStateEnum = "Off" )
type ChannelFreq ¶
type ChannelFreq uint32
type ChannelMapSet ¶
type ChannelMapSet string
type ConfigMode ¶
type ConfigMode string
type Configuration ¶
type Configuration string
type CreateStereoPairArgs ¶
type CreateStereoPairArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
ChannelMapSet string `xml:"ChannelMapSet"`
}
CreateStereoPair Argument type.
type CreateStereoPairResponse ¶
type CreateStereoPairResponse struct {
}
CreateStereoPair Response type.
type EnterConfigModeArgs ¶
type EnterConfigModeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Mode string `xml:"Mode"`
Options string `xml:"Options"`
}
EnterConfigMode Argument type.
type EnterConfigModeResponse ¶
type EnterConfigModeResponse struct {
State string `xml:"State"`
}
EnterConfigMode Response type.
type ExitConfigModeArgs ¶
ExitConfigMode Argument type.
type GetAutoplayLinkedZonesArgs ¶
type GetAutoplayLinkedZonesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Source string `xml:"Source"`
}
GetAutoplayLinkedZones Argument type.
type GetAutoplayLinkedZonesResponse ¶
type GetAutoplayLinkedZonesResponse struct {
IncludeLinkedZones bool `xml:"IncludeLinkedZones"`
}
GetAutoplayLinkedZones Response type.
type GetAutoplayRoomUUIDArgs ¶
type GetAutoplayRoomUUIDArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Source string `xml:"Source"`
}
GetAutoplayRoomUUID Argument type.
type GetAutoplayRoomUUIDResponse ¶
type GetAutoplayRoomUUIDResponse struct {
RoomUUID string `xml:"RoomUUID"`
}
GetAutoplayRoomUUID Response type.
type GetAutoplayVolumeArgs ¶
type GetAutoplayVolumeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Source string `xml:"Source"`
}
GetAutoplayVolume Argument type.
type GetAutoplayVolumeResponse ¶
type GetAutoplayVolumeResponse struct {
CurrentVolume uint16 `xml:"CurrentVolume"`
}
GetAutoplayVolume Response type.
type GetButtonLockStateArgs ¶
type GetButtonLockStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
GetButtonLockState Argument type.
type GetButtonLockStateResponse ¶
type GetButtonLockStateResponse struct {
CurrentButtonLockState ButtonLockStateEnum `xml:"CurrentButtonLockState"`
}
GetButtonLockState Response type.
type GetButtonStateArgs ¶
type GetButtonStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
GetButtonState Argument type.
type GetButtonStateResponse ¶
type GetButtonStateResponse struct {
State string `xml:"State"`
}
GetButtonState Response type.
type GetHouseholdIDArgs ¶
type GetHouseholdIDArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
GetHouseholdID Argument type.
type GetHouseholdIDResponse ¶
type GetHouseholdIDResponse struct {
CurrentHouseholdID string `xml:"CurrentHouseholdID"`
}
GetHouseholdID Response type.
type GetLEDStateArgs ¶
type GetLEDStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
GetLEDState Argument type.
type GetLEDStateResponse ¶
type GetLEDStateResponse struct {
CurrentLEDState LEDStateEnum `xml:"CurrentLEDState"`
}
GetLEDState Response type.
type GetUseAutoplayVolumeArgs ¶
type GetUseAutoplayVolumeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Source string `xml:"Source"`
}
GetUseAutoplayVolume Argument type.
type GetUseAutoplayVolumeResponse ¶
type GetUseAutoplayVolumeResponse struct {
UseVolume bool `xml:"UseVolume"`
}
GetUseAutoplayVolume Response type.
type GetZoneAttributesArgs ¶
type GetZoneAttributesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
GetZoneAttributes Argument type.
type GetZoneAttributesResponse ¶
type GetZoneAttributesResponse struct {
CurrentZoneName string `xml:"CurrentZoneName"`
CurrentIcon string `xml:"CurrentIcon"`
CurrentConfiguration string `xml:"CurrentConfiguration"`
CurrentTargetRoomName string `xml:"CurrentTargetRoomName"`
}
GetZoneAttributes Response type.
type GetZoneInfoArgs ¶
type GetZoneInfoArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
GetZoneInfo Argument type.
type GetZoneInfoResponse ¶
type GetZoneInfoResponse struct {
SerialNumber string `xml:"SerialNumber"`
SoftwareVersion string `xml:"SoftwareVersion"`
DisplaySoftwareVersion string `xml:"DisplaySoftwareVersion"`
HardwareVersion string `xml:"HardwareVersion"`
IPAddress string `xml:"IPAddress"`
MACAddress string `xml:"MACAddress"`
CopyrightInfo string `xml:"CopyrightInfo"`
ExtraInfo string `xml:"ExtraInfo"`
HTAudioIn uint32 `xml:"HTAudioIn"`
Flags uint32 `xml:"Flags"`
}
GetZoneInfo Response type.
type HTBondedZoneCommitState ¶
type HTBondedZoneCommitState uint32
type HTSatChanMapSet ¶
type HTSatChanMapSet string
type HasConfiguredSSID ¶
type HasConfiguredSSID bool
type HdmiCecAvailable ¶
type HdmiCecAvailable bool
type IsZoneBridge ¶
type IsZoneBridge bool
type LEDStateEnum ¶
type LEDStateEnum string
Enumerations
const ( LEDState_On LEDStateEnum = "On" LEDState_Off LEDStateEnum = "Off" )
type LastChangedPlayState ¶
type LastChangedPlayState string
type MicEnabled ¶
type MicEnabled uint32
type Orientation ¶
type Orientation int32
type Property ¶
type Property struct {
XMLName xml.Name `xml:"property"`
SettingsReplicationState *SettingsReplicationState `xml:"SettingsReplicationState"`
ZoneName *ZoneName `xml:"ZoneName"`
Icon *Icon `xml:"Icon"`
Configuration *Configuration `xml:"Configuration"`
Invisible *Invisible `xml:"Invisible"`
IsZoneBridge *IsZoneBridge `xml:"IsZoneBridge"`
AirPlayEnabled *AirPlayEnabled `xml:"AirPlayEnabled"`
SupportsAudioIn *SupportsAudioIn `xml:"SupportsAudioIn"`
SupportsAudioClip *SupportsAudioClip `xml:"SupportsAudioClip"`
IsIdle *IsIdle `xml:"IsIdle"`
MoreInfo *MoreInfo `xml:"MoreInfo"`
ChannelMapSet *ChannelMapSet `xml:"ChannelMapSet"`
HTSatChanMapSet *HTSatChanMapSet `xml:"HTSatChanMapSet"`
HTBondedZoneCommitState *HTBondedZoneCommitState `xml:"HTBondedZoneCommitState"`
Orientation *Orientation `xml:"Orientation"`
LastChangedPlayState *LastChangedPlayState `xml:"LastChangedPlayState"`
RoomCalibrationState *RoomCalibrationState `xml:"RoomCalibrationState"`
AvailableRoomCalibration *AvailableRoomCalibration `xml:"AvailableRoomCalibration"`
TVConfigurationError *TVConfigurationError `xml:"TVConfigurationError"`
HdmiCecAvailable *HdmiCecAvailable `xml:"HdmiCecAvailable"`
WirelessMode *WirelessMode `xml:"WirelessMode"`
WirelessLeafOnly *WirelessLeafOnly `xml:"WirelessLeafOnly"`
HasConfiguredSSID *HasConfiguredSSID `xml:"HasConfiguredSSID"`
ChannelFreq *ChannelFreq `xml:"ChannelFreq"`
BehindWifiExtender *BehindWifiExtender `xml:"BehindWifiExtender"`
WifiEnabled *WifiEnabled `xml:"WifiEnabled"`
EthLink *EthLink `xml:"EthLink"`
ConfigMode *ConfigMode `xml:"ConfigMode"`
SecureRegState *SecureRegState `xml:"SecureRegState"`
VoiceConfigState *VoiceConfigState `xml:"VoiceConfigState"`
MicEnabled *MicEnabled `xml:"MicEnabled"`
}
Property represents a single property in a UPnP event notification.
type RemoveBondedZonesArgs ¶
type RemoveBondedZonesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
ChannelMapSet string `xml:"ChannelMapSet"`
KeepGrouped bool `xml:"KeepGrouped"`
}
RemoveBondedZones Argument type.
type RemoveBondedZonesResponse ¶
type RemoveBondedZonesResponse struct {
}
RemoveBondedZones Response type.
type RemoveHTSatelliteArgs ¶
type RemoveHTSatelliteArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
SatRoomUUID string `xml:"SatRoomUUID"`
}
RemoveHTSatellite Argument type.
type RemoveHTSatelliteResponse ¶
type RemoveHTSatelliteResponse struct {
}
RemoveHTSatellite Response type.
type RoomCalibrationState ¶
type RoomCalibrationState int32
type RoomDetectionStartChirpingArgs ¶
type RoomDetectionStartChirpingArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Channel uint16 `xml:"Channel"`
DurationMilliseconds uint32 `xml:"DurationMilliseconds"`
ChirpIfPlayingSwappableAudio bool `xml:"ChirpIfPlayingSwappableAudio"`
}
RoomDetectionStartChirping Argument type.
type RoomDetectionStartChirpingResponse ¶
type RoomDetectionStartChirpingResponse struct {
PlayId uint32 `xml:"PlayId"`
}
RoomDetectionStartChirping Response type.
type RoomDetectionStopChirpingArgs ¶
type RoomDetectionStopChirpingArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
PlayId uint32 `xml:"PlayId"`
}
RoomDetectionStopChirping Argument type.
type RoomDetectionStopChirpingResponse ¶
type RoomDetectionStopChirpingResponse struct {
}
RoomDetectionStopChirping Response type.
type SecureRegState ¶
type SecureRegState uint32
type SeparateStereoPairArgs ¶
type SeparateStereoPairArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
ChannelMapSet string `xml:"ChannelMapSet"`
}
SeparateStereoPair Argument type.
type SeparateStereoPairResponse ¶
type SeparateStereoPairResponse struct {
}
SeparateStereoPair Response type.
type Service ¶
type Service struct {
SettingsReplicationState *SettingsReplicationState
ZoneName *ZoneName
Icon *Icon
Configuration *Configuration
Invisible *Invisible
IsZoneBridge *IsZoneBridge
AirPlayEnabled *AirPlayEnabled
SupportsAudioIn *SupportsAudioIn
SupportsAudioClip *SupportsAudioClip
IsIdle *IsIdle
MoreInfo *MoreInfo
ChannelMapSet *ChannelMapSet
HTSatChanMapSet *HTSatChanMapSet
HTBondedZoneCommitState *HTBondedZoneCommitState
Orientation *Orientation
LastChangedPlayState *LastChangedPlayState
RoomCalibrationState *RoomCalibrationState
AvailableRoomCalibration *AvailableRoomCalibration
TVConfigurationError *TVConfigurationError
HdmiCecAvailable *HdmiCecAvailable
WirelessMode *WirelessMode
WirelessLeafOnly *WirelessLeafOnly
HasConfiguredSSID *HasConfiguredSSID
ChannelFreq *ChannelFreq
BehindWifiExtender *BehindWifiExtender
WifiEnabled *WifiEnabled
EthLink *EthLink
ConfigMode *ConfigMode
SecureRegState *SecureRegState
VoiceConfigState *VoiceConfigState
MicEnabled *MicEnabled
// contains filtered or unexported fields
}
Service represents DeviceProperties service.
func NewService ¶
func NewService(opts ...ServiceOption) *Service
NewService creates a new instance of the DeviceProperties service. You must provide at least a location URL and an HTTP client using the options.
func (*Service) AddBondedZones ¶
func (s *Service) AddBondedZones(args *AddBondedZonesArgs) (*AddBondedZonesResponse, error)
AddBondedZones calls the AddBondedZones action on the service.
func (*Service) AddHTSatellite ¶
func (s *Service) AddHTSatellite(args *AddHTSatelliteArgs) (*AddHTSatelliteResponse, error)
AddHTSatellite calls the AddHTSatellite action on the service.
func (*Service) ControlEndpoint ¶
ControlEndpoint returns the control endpoint URL of the service. This is usually a URL relative to the device's base URL.
func (*Service) CreateStereoPair ¶
func (s *Service) CreateStereoPair(args *CreateStereoPairArgs) (*CreateStereoPairResponse, error)
CreateStereoPair calls the CreateStereoPair action on the service.
func (*Service) EnterConfigMode ¶
func (s *Service) EnterConfigMode(args *EnterConfigModeArgs) (*EnterConfigModeResponse, error)
EnterConfigMode calls the EnterConfigMode action on the service.
func (*Service) EventEndpoint ¶
EventEndpoint returns the event endpoint URL of the service. This is usually a URL relative to the device's base URL.
func (*Service) ExitConfigMode ¶
func (s *Service) ExitConfigMode(args *ExitConfigModeArgs) (*ExitConfigModeResponse, error)
ExitConfigMode calls the ExitConfigMode action on the service.
func (*Service) GetAutoplayLinkedZones ¶
func (s *Service) GetAutoplayLinkedZones(args *GetAutoplayLinkedZonesArgs) (*GetAutoplayLinkedZonesResponse, error)
GetAutoplayLinkedZones calls the GetAutoplayLinkedZones action on the service.
func (*Service) GetAutoplayRoomUUID ¶
func (s *Service) GetAutoplayRoomUUID(args *GetAutoplayRoomUUIDArgs) (*GetAutoplayRoomUUIDResponse, error)
GetAutoplayRoomUUID calls the GetAutoplayRoomUUID action on the service.
func (*Service) GetAutoplayVolume ¶
func (s *Service) GetAutoplayVolume(args *GetAutoplayVolumeArgs) (*GetAutoplayVolumeResponse, error)
GetAutoplayVolume calls the GetAutoplayVolume action on the service.
func (*Service) GetButtonLockState ¶
func (s *Service) GetButtonLockState(args *GetButtonLockStateArgs) (*GetButtonLockStateResponse, error)
GetButtonLockState calls the GetButtonLockState action on the service.
func (*Service) GetButtonState ¶
func (s *Service) GetButtonState(args *GetButtonStateArgs) (*GetButtonStateResponse, error)
GetButtonState calls the GetButtonState action on the service.
func (*Service) GetHouseholdID ¶
func (s *Service) GetHouseholdID(args *GetHouseholdIDArgs) (*GetHouseholdIDResponse, error)
GetHouseholdID calls the GetHouseholdID action on the service.
func (*Service) GetLEDState ¶
func (s *Service) GetLEDState(args *GetLEDStateArgs) (*GetLEDStateResponse, error)
GetLEDState calls the GetLEDState action on the service.
func (*Service) GetUseAutoplayVolume ¶
func (s *Service) GetUseAutoplayVolume(args *GetUseAutoplayVolumeArgs) (*GetUseAutoplayVolumeResponse, error)
GetUseAutoplayVolume calls the GetUseAutoplayVolume action on the service.
func (*Service) GetZoneAttributes ¶
func (s *Service) GetZoneAttributes(args *GetZoneAttributesArgs) (*GetZoneAttributesResponse, error)
GetZoneAttributes calls the GetZoneAttributes action on the service.
func (*Service) GetZoneInfo ¶
func (s *Service) GetZoneInfo(args *GetZoneInfoArgs) (*GetZoneInfoResponse, error)
GetZoneInfo calls the GetZoneInfo action on the service.
func (*Service) ParseEvent ¶
ParseEvent parses a UPnP event notification and updates the service's state variables accordingly. It returns a slice of updated state variable values.
func (*Service) RemoveBondedZones ¶
func (s *Service) RemoveBondedZones(args *RemoveBondedZonesArgs) (*RemoveBondedZonesResponse, error)
RemoveBondedZones calls the RemoveBondedZones action on the service.
func (*Service) RemoveHTSatellite ¶
func (s *Service) RemoveHTSatellite(args *RemoveHTSatelliteArgs) (*RemoveHTSatelliteResponse, error)
RemoveHTSatellite calls the RemoveHTSatellite action on the service.
func (*Service) RoomDetectionStartChirping ¶
func (s *Service) RoomDetectionStartChirping(args *RoomDetectionStartChirpingArgs) (*RoomDetectionStartChirpingResponse, error)
RoomDetectionStartChirping calls the RoomDetectionStartChirping action on the service.
func (*Service) RoomDetectionStopChirping ¶
func (s *Service) RoomDetectionStopChirping(args *RoomDetectionStopChirpingArgs) (*RoomDetectionStopChirpingResponse, error)
RoomDetectionStopChirping calls the RoomDetectionStopChirping action on the service.
func (*Service) SeparateStereoPair ¶
func (s *Service) SeparateStereoPair(args *SeparateStereoPairArgs) (*SeparateStereoPairResponse, error)
SeparateStereoPair calls the SeparateStereoPair action on the service.
func (*Service) SetAutoplayLinkedZones ¶
func (s *Service) SetAutoplayLinkedZones(args *SetAutoplayLinkedZonesArgs) (*SetAutoplayLinkedZonesResponse, error)
SetAutoplayLinkedZones calls the SetAutoplayLinkedZones action on the service.
func (*Service) SetAutoplayRoomUUID ¶
func (s *Service) SetAutoplayRoomUUID(args *SetAutoplayRoomUUIDArgs) (*SetAutoplayRoomUUIDResponse, error)
SetAutoplayRoomUUID calls the SetAutoplayRoomUUID action on the service.
func (*Service) SetAutoplayVolume ¶
func (s *Service) SetAutoplayVolume(args *SetAutoplayVolumeArgs) (*SetAutoplayVolumeResponse, error)
SetAutoplayVolume calls the SetAutoplayVolume action on the service.
func (*Service) SetButtonLockState ¶
func (s *Service) SetButtonLockState(args *SetButtonLockStateArgs) (*SetButtonLockStateResponse, error)
SetButtonLockState calls the SetButtonLockState action on the service.
func (*Service) SetLEDState ¶
func (s *Service) SetLEDState(args *SetLEDStateArgs) (*SetLEDStateResponse, error)
SetLEDState calls the SetLEDState action on the service.
func (*Service) SetUseAutoplayVolume ¶
func (s *Service) SetUseAutoplayVolume(args *SetUseAutoplayVolumeArgs) (*SetUseAutoplayVolumeResponse, error)
SetUseAutoplayVolume calls the SetUseAutoplayVolume action on the service.
func (*Service) SetZoneAttributes ¶
func (s *Service) SetZoneAttributes(args *SetZoneAttributesArgs) (*SetZoneAttributesResponse, error)
SetZoneAttributes calls the SetZoneAttributes action on the service.
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SetAutoplayLinkedZonesArgs ¶
type SetAutoplayLinkedZonesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
IncludeLinkedZones bool `xml:"IncludeLinkedZones"`
Source string `xml:"Source"`
}
SetAutoplayLinkedZones Argument type.
type SetAutoplayLinkedZonesResponse ¶
type SetAutoplayLinkedZonesResponse struct {
}
SetAutoplayLinkedZones Response type.
type SetAutoplayRoomUUIDArgs ¶
type SetAutoplayRoomUUIDArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
RoomUUID string `xml:"RoomUUID"`
Source string `xml:"Source"`
}
SetAutoplayRoomUUID Argument type.
type SetAutoplayRoomUUIDResponse ¶
type SetAutoplayRoomUUIDResponse struct {
}
SetAutoplayRoomUUID Response type.
type SetAutoplayVolumeArgs ¶
type SetAutoplayVolumeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
Volume uint16 `xml:"Volume"`
Source string `xml:"Source"`
}
SetAutoplayVolume Argument type.
type SetAutoplayVolumeResponse ¶
type SetAutoplayVolumeResponse struct {
}
SetAutoplayVolume Response type.
type SetButtonLockStateArgs ¶
type SetButtonLockStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
DesiredButtonLockState ButtonLockStateEnum `xml:"DesiredButtonLockState"`
}
SetButtonLockState Argument type.
type SetButtonLockStateResponse ¶
type SetButtonLockStateResponse struct {
}
SetButtonLockState Response type.
type SetLEDStateArgs ¶
type SetLEDStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
DesiredLEDState LEDStateEnum `xml:"DesiredLEDState"`
}
SetLEDState Argument type.
type SetUseAutoplayVolumeArgs ¶
type SetUseAutoplayVolumeArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
UseVolume bool `xml:"UseVolume"`
Source string `xml:"Source"`
}
SetUseAutoplayVolume Argument type.
type SetUseAutoplayVolumeResponse ¶
type SetUseAutoplayVolumeResponse struct {
}
SetUseAutoplayVolume Response type.
type SetZoneAttributesArgs ¶
type SetZoneAttributesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
DesiredZoneName string `xml:"DesiredZoneName"`
DesiredIcon string `xml:"DesiredIcon"`
DesiredConfiguration string `xml:"DesiredConfiguration"`
DesiredTargetRoomName string `xml:"DesiredTargetRoomName"`
}
SetZoneAttributes Argument type.
type SetZoneAttributesResponse ¶
type SetZoneAttributesResponse struct {
}
SetZoneAttributes Response type.
type SupportsAudioClip ¶
type SupportsAudioClip bool
type SupportsAudioIn ¶
type SupportsAudioIn bool
type TVConfigurationError ¶
type TVConfigurationError bool
type UpnpEvent ¶
type UpnpEvent struct {
XMLName xml.Name `xml:"propertyset"`
XMLNameSpace string `xml:"xmlns:e,attr"`
Properties []Property `xml:"property"`
}
UpnpEvent represents a UPnP event notification.
type VoiceConfigState ¶
type VoiceConfigState uint32
type WifiEnabled ¶
type WifiEnabled bool
type WirelessLeafOnly ¶
type WirelessLeafOnly bool
type WirelessMode ¶
type WirelessMode uint32