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 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 GetHTForwardStateArgs
- type GetHTForwardStateResponse
- type GetHouseholdIDArgs
- type GetHouseholdIDResponse
- type GetLEDStateArgs
- type GetLEDStateResponse
- type GetUseAutoplayVolumeArgs
- type GetUseAutoplayVolumeResponse
- type GetZoneAttributesArgs
- type GetZoneAttributesResponse
- type GetZoneInfoArgs
- type GetZoneInfoResponse
- type HTBondedZoneCommitState
- type HTFreq
- type HTSatChanMapSet
- type HasConfiguredSSID
- type HdmiCecAvailable
- type Icon
- type Invisible
- type IsIdle
- type IsZoneBridge
- 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) GetHTForwardState(args *GetHTForwardStateArgs) (*GetHTForwardStateResponse, 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 ¶
View Source
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 AddBondedZonesResponse ¶
type AddBondedZonesResponse struct { }
type AddHTSatelliteArgs ¶
type AddHTSatelliteResponse ¶
type AddHTSatelliteResponse struct { }
type AirPlayEnabled ¶
type AirPlayEnabled bool
type AvailableRoomCalibration ¶
type AvailableRoomCalibration string
type BehindWifiExtender ¶
type BehindWifiExtender uint32
type ChannelFreq ¶
type ChannelFreq uint32
type ChannelMapSet ¶
type ChannelMapSet string
type ConfigMode ¶
type ConfigMode string
type Configuration ¶
type Configuration string
type CreateStereoPairArgs ¶
type CreateStereoPairResponse ¶
type CreateStereoPairResponse struct { }
type EnterConfigModeArgs ¶
type EnterConfigModeResponse ¶
type EnterConfigModeResponse struct {
State string `xml:"State"`
}
type ExitConfigModeArgs ¶
type ExitConfigModeResponse ¶
type ExitConfigModeResponse struct { }
type GetAutoplayLinkedZonesResponse ¶
type GetAutoplayLinkedZonesResponse struct {
IncludeLinkedZones bool `xml:"IncludeLinkedZones"`
}
type GetAutoplayRoomUUIDArgs ¶
type GetAutoplayRoomUUIDResponse ¶
type GetAutoplayRoomUUIDResponse struct {
RoomUUID string `xml:"RoomUUID"`
}
type GetAutoplayVolumeArgs ¶
type GetAutoplayVolumeResponse ¶
type GetAutoplayVolumeResponse struct {
CurrentVolume uint16 `xml:"CurrentVolume"`
}
type GetButtonLockStateArgs ¶
type GetButtonLockStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetButtonLockStateResponse ¶
type GetButtonLockStateResponse struct {
CurrentButtonLockState string `xml:"CurrentButtonLockState"`
}
type GetButtonStateArgs ¶
type GetButtonStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetButtonStateResponse ¶
type GetButtonStateResponse struct {
State string `xml:"State"`
}
type GetHTForwardStateArgs ¶
type GetHTForwardStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetHTForwardStateResponse ¶
type GetHTForwardStateResponse struct {
IsHTForwardEnabled bool `xml:"IsHTForwardEnabled"`
}
type GetHouseholdIDArgs ¶
type GetHouseholdIDArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetHouseholdIDResponse ¶
type GetHouseholdIDResponse struct {
CurrentHouseholdID string `xml:"CurrentHouseholdID"`
}
type GetLEDStateArgs ¶
type GetLEDStateArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetLEDStateResponse ¶
type GetLEDStateResponse struct {
CurrentLEDState string `xml:"CurrentLEDState"`
}
type GetUseAutoplayVolumeResponse ¶
type GetUseAutoplayVolumeResponse struct {
UseVolume bool `xml:"UseVolume"`
}
type GetZoneAttributesArgs ¶
type GetZoneAttributesArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
type GetZoneInfoArgs ¶
type GetZoneInfoArgs struct {
Xmlns string `xml:"xmlns:u,attr"`
}
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"` }
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 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"` HTFreq *HTFreq `xml:"HTFreq"` 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"` }
type RemoveBondedZonesArgs ¶
type RemoveBondedZonesResponse ¶
type RemoveBondedZonesResponse struct { }
type RemoveHTSatelliteArgs ¶
type RemoveHTSatelliteResponse ¶
type RemoveHTSatelliteResponse struct { }
type RoomCalibrationState ¶
type RoomCalibrationState int32
type RoomDetectionStartChirpingResponse ¶
type RoomDetectionStartChirpingResponse struct {
PlayId uint32 `xml:"PlayId"`
}
type RoomDetectionStopChirpingResponse ¶
type RoomDetectionStopChirpingResponse struct { }
type SecureRegState ¶
type SecureRegState uint32
type SeparateStereoPairArgs ¶
type SeparateStereoPairResponse ¶
type SeparateStereoPairResponse struct { }
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 HTFreq *HTFreq 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 }
func NewService ¶
func NewService(opts ...ServiceOption) *Service
func (*Service) AddBondedZones ¶
func (s *Service) AddBondedZones(args *AddBondedZonesArgs) (*AddBondedZonesResponse, error)
func (*Service) AddHTSatellite ¶
func (s *Service) AddHTSatellite(args *AddHTSatelliteArgs) (*AddHTSatelliteResponse, error)
func (*Service) ControlEndpoint ¶
func (*Service) CreateStereoPair ¶
func (s *Service) CreateStereoPair(args *CreateStereoPairArgs) (*CreateStereoPairResponse, error)
func (*Service) EnterConfigMode ¶
func (s *Service) EnterConfigMode(args *EnterConfigModeArgs) (*EnterConfigModeResponse, error)
func (*Service) EventEndpoint ¶
func (*Service) ExitConfigMode ¶
func (s *Service) ExitConfigMode(args *ExitConfigModeArgs) (*ExitConfigModeResponse, error)
func (*Service) GetAutoplayLinkedZones ¶
func (s *Service) GetAutoplayLinkedZones(args *GetAutoplayLinkedZonesArgs) (*GetAutoplayLinkedZonesResponse, error)
func (*Service) GetAutoplayRoomUUID ¶
func (s *Service) GetAutoplayRoomUUID(args *GetAutoplayRoomUUIDArgs) (*GetAutoplayRoomUUIDResponse, error)
func (*Service) GetAutoplayVolume ¶
func (s *Service) GetAutoplayVolume(args *GetAutoplayVolumeArgs) (*GetAutoplayVolumeResponse, error)
func (*Service) GetButtonLockState ¶
func (s *Service) GetButtonLockState(args *GetButtonLockStateArgs) (*GetButtonLockStateResponse, error)
func (*Service) GetButtonState ¶
func (s *Service) GetButtonState(args *GetButtonStateArgs) (*GetButtonStateResponse, error)
func (*Service) GetHTForwardState ¶
func (s *Service) GetHTForwardState(args *GetHTForwardStateArgs) (*GetHTForwardStateResponse, error)
func (*Service) GetHouseholdID ¶
func (s *Service) GetHouseholdID(args *GetHouseholdIDArgs) (*GetHouseholdIDResponse, error)
func (*Service) GetLEDState ¶
func (s *Service) GetLEDState(args *GetLEDStateArgs) (*GetLEDStateResponse, error)
func (*Service) GetUseAutoplayVolume ¶
func (s *Service) GetUseAutoplayVolume(args *GetUseAutoplayVolumeArgs) (*GetUseAutoplayVolumeResponse, error)
func (*Service) GetZoneAttributes ¶
func (s *Service) GetZoneAttributes(args *GetZoneAttributesArgs) (*GetZoneAttributesResponse, error)
func (*Service) GetZoneInfo ¶
func (s *Service) GetZoneInfo(args *GetZoneInfoArgs) (*GetZoneInfoResponse, error)
func (*Service) ParseEvent ¶
func (*Service) RemoveBondedZones ¶
func (s *Service) RemoveBondedZones(args *RemoveBondedZonesArgs) (*RemoveBondedZonesResponse, error)
func (*Service) RemoveHTSatellite ¶
func (s *Service) RemoveHTSatellite(args *RemoveHTSatelliteArgs) (*RemoveHTSatelliteResponse, error)
func (*Service) RoomDetectionStartChirping ¶
func (s *Service) RoomDetectionStartChirping(args *RoomDetectionStartChirpingArgs) (*RoomDetectionStartChirpingResponse, error)
func (*Service) RoomDetectionStopChirping ¶
func (s *Service) RoomDetectionStopChirping(args *RoomDetectionStopChirpingArgs) (*RoomDetectionStopChirpingResponse, error)
func (*Service) SeparateStereoPair ¶
func (s *Service) SeparateStereoPair(args *SeparateStereoPairArgs) (*SeparateStereoPairResponse, error)
func (*Service) SetAutoplayLinkedZones ¶
func (s *Service) SetAutoplayLinkedZones(args *SetAutoplayLinkedZonesArgs) (*SetAutoplayLinkedZonesResponse, error)
func (*Service) SetAutoplayRoomUUID ¶
func (s *Service) SetAutoplayRoomUUID(args *SetAutoplayRoomUUIDArgs) (*SetAutoplayRoomUUIDResponse, error)
func (*Service) SetAutoplayVolume ¶
func (s *Service) SetAutoplayVolume(args *SetAutoplayVolumeArgs) (*SetAutoplayVolumeResponse, error)
func (*Service) SetButtonLockState ¶
func (s *Service) SetButtonLockState(args *SetButtonLockStateArgs) (*SetButtonLockStateResponse, error)
func (*Service) SetLEDState ¶
func (s *Service) SetLEDState(args *SetLEDStateArgs) (*SetLEDStateResponse, error)
func (*Service) SetUseAutoplayVolume ¶
func (s *Service) SetUseAutoplayVolume(args *SetUseAutoplayVolumeArgs) (*SetUseAutoplayVolumeResponse, error)
func (*Service) SetZoneAttributes ¶
func (s *Service) SetZoneAttributes(args *SetZoneAttributesArgs) (*SetZoneAttributesResponse, error)
type ServiceOption ¶
type ServiceOption func(*Service)
func WithClient ¶
func WithClient(c *http.Client) ServiceOption
func WithLocation ¶
func WithLocation(u *url.URL) ServiceOption
type SetAutoplayLinkedZonesResponse ¶
type SetAutoplayLinkedZonesResponse struct { }
type SetAutoplayRoomUUIDArgs ¶
type SetAutoplayRoomUUIDResponse ¶
type SetAutoplayRoomUUIDResponse struct { }
type SetAutoplayVolumeArgs ¶
type SetAutoplayVolumeResponse ¶
type SetAutoplayVolumeResponse struct { }
type SetButtonLockStateArgs ¶
type SetButtonLockStateResponse ¶
type SetButtonLockStateResponse struct { }
type SetLEDStateArgs ¶
type SetLEDStateResponse ¶
type SetLEDStateResponse struct { }
type SetUseAutoplayVolumeResponse ¶
type SetUseAutoplayVolumeResponse struct { }
type SetZoneAttributesArgs ¶
type SetZoneAttributesResponse ¶
type SetZoneAttributesResponse struct { }
type SettingsReplicationState ¶
type SettingsReplicationState string
type SupportsAudioClip ¶
type SupportsAudioClip bool
type SupportsAudioIn ¶
type SupportsAudioIn bool
type TVConfigurationError ¶
type TVConfigurationError bool
type VoiceConfigState ¶
type VoiceConfigState uint32
type WifiEnabled ¶
type WifiEnabled bool
type WirelessLeafOnly ¶
type WirelessLeafOnly bool
type WirelessMode ¶
type WirelessMode uint32
Click to show internal directories.
Click to hide internal directories.