deviceproperties

package
v0.0.0-...-cbcd650 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package deviceproperties is a generated DeviceProperties package.

Index

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 AddBondedZonesArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	ChannelMapSet string `xml:"ChannelMapSet"`
}

type AddBondedZonesResponse

type AddBondedZonesResponse struct {
}

type AddHTSatelliteArgs

type AddHTSatelliteArgs struct {
	Xmlns           string `xml:"xmlns:u,attr"`
	HTSatChanMapSet string `xml:"HTSatChanMapSet"`
}

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 CreateStereoPairArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	ChannelMapSet string `xml:"ChannelMapSet"`
}

type CreateStereoPairResponse

type CreateStereoPairResponse struct {
}

type EnterConfigModeArgs

type EnterConfigModeArgs struct {
	Xmlns   string `xml:"xmlns:u,attr"`
	Mode    string `xml:"Mode"`
	Options string `xml:"Options"`
}

type EnterConfigModeResponse

type EnterConfigModeResponse struct {
	State string `xml:"State"`
}
type EthLink bool

type ExitConfigModeArgs

type ExitConfigModeArgs struct {
	Xmlns   string `xml:"xmlns:u,attr"`
	Options string `xml:"Options"`
}

type ExitConfigModeResponse

type ExitConfigModeResponse struct {
}

type GetAutoplayLinkedZonesArgs

type GetAutoplayLinkedZonesArgs struct {
	Xmlns  string `xml:"xmlns:u,attr"`
	Source string `xml:"Source"`
}

type GetAutoplayLinkedZonesResponse

type GetAutoplayLinkedZonesResponse struct {
	IncludeLinkedZones bool `xml:"IncludeLinkedZones"`
}

type GetAutoplayRoomUUIDArgs

type GetAutoplayRoomUUIDArgs struct {
	Xmlns  string `xml:"xmlns:u,attr"`
	Source string `xml:"Source"`
}

type GetAutoplayRoomUUIDResponse

type GetAutoplayRoomUUIDResponse struct {
	RoomUUID string `xml:"RoomUUID"`
}

type GetAutoplayVolumeArgs

type GetAutoplayVolumeArgs struct {
	Xmlns  string `xml:"xmlns:u,attr"`
	Source string `xml:"Source"`
}

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 GetUseAutoplayVolumeArgs

type GetUseAutoplayVolumeArgs struct {
	Xmlns  string `xml:"xmlns:u,attr"`
	Source string `xml:"Source"`
}

type GetUseAutoplayVolumeResponse

type GetUseAutoplayVolumeResponse struct {
	UseVolume bool `xml:"UseVolume"`
}

type GetZoneAttributesArgs

type GetZoneAttributesArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
}

type GetZoneAttributesResponse

type GetZoneAttributesResponse struct {
	CurrentZoneName       string `xml:"CurrentZoneName"`
	CurrentIcon           string `xml:"CurrentIcon"`
	CurrentConfiguration  string `xml:"CurrentConfiguration"`
	CurrentTargetRoomName string `xml:"CurrentTargetRoomName"`
}

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 HTFreq

type HTFreq uint32

type HTSatChanMapSet

type HTSatChanMapSet string

type HasConfiguredSSID

type HasConfiguredSSID bool

type HdmiCecAvailable

type HdmiCecAvailable bool

type Icon

type Icon string

type Invisible

type Invisible bool

type IsIdle

type IsIdle bool

type IsZoneBridge

type IsZoneBridge bool

type LastChangedPlayState

type LastChangedPlayState string

type MicEnabled

type MicEnabled uint32

type MoreInfo

type MoreInfo string

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 RemoveBondedZonesArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	ChannelMapSet string `xml:"ChannelMapSet"`
	KeepGrouped   bool   `xml:"KeepGrouped"`
}

type RemoveBondedZonesResponse

type RemoveBondedZonesResponse struct {
}

type RemoveHTSatelliteArgs

type RemoveHTSatelliteArgs struct {
	Xmlns       string `xml:"xmlns:u,attr"`
	SatRoomUUID string `xml:"SatRoomUUID"`
}

type RemoveHTSatelliteResponse

type RemoveHTSatelliteResponse struct {
}

type RoomCalibrationState

type RoomCalibrationState int32

type RoomDetectionStartChirpingArgs

type RoomDetectionStartChirpingArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
	// Allowed Range: 0 -> 7 step: 1
	Channel                      uint16 `xml:"Channel"`
	DurationMilliseconds         uint32 `xml:"DurationMilliseconds"`
	ChirpIfPlayingSwappableAudio bool   `xml:"ChirpIfPlayingSwappableAudio"`
}

type RoomDetectionStartChirpingResponse

type RoomDetectionStartChirpingResponse struct {
	PlayId uint32 `xml:"PlayId"`
}

type RoomDetectionStopChirpingArgs

type RoomDetectionStopChirpingArgs struct {
	Xmlns  string `xml:"xmlns:u,attr"`
	PlayId uint32 `xml:"PlayId"`
}

type RoomDetectionStopChirpingResponse

type RoomDetectionStopChirpingResponse struct {
}

type SecureRegState

type SecureRegState uint32

type SeparateStereoPairArgs

type SeparateStereoPairArgs struct {
	Xmlns         string `xml:"xmlns:u,attr"`
	ChannelMapSet string `xml:"ChannelMapSet"`
}

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) Client

func (s *Service) Client() *http.Client

func (*Service) ControlEndpoint

func (s *Service) ControlEndpoint() *url.URL

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 (s *Service) EventEndpoint() *url.URL

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) Location

func (s *Service) Location() *url.URL

func (*Service) ParseEvent

func (zp *Service) ParseEvent(body []byte) []interface{}

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 SetAutoplayLinkedZonesArgs

type SetAutoplayLinkedZonesArgs struct {
	Xmlns              string `xml:"xmlns:u,attr"`
	IncludeLinkedZones bool   `xml:"IncludeLinkedZones"`
	Source             string `xml:"Source"`
}

type SetAutoplayLinkedZonesResponse

type SetAutoplayLinkedZonesResponse struct {
}

type SetAutoplayRoomUUIDArgs

type SetAutoplayRoomUUIDArgs struct {
	Xmlns    string `xml:"xmlns:u,attr"`
	RoomUUID string `xml:"RoomUUID"`
	Source   string `xml:"Source"`
}

type SetAutoplayRoomUUIDResponse

type SetAutoplayRoomUUIDResponse struct {
}

type SetAutoplayVolumeArgs

type SetAutoplayVolumeArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
	// Allowed Range: 0 -> 100 step: 1
	Volume uint16 `xml:"Volume"`
	Source string `xml:"Source"`
}

type SetAutoplayVolumeResponse

type SetAutoplayVolumeResponse struct {
}

type SetButtonLockStateArgs

type SetButtonLockStateArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
	// Allowed Value: On
	// Allowed Value: Off
	DesiredButtonLockState string `xml:"DesiredButtonLockState"`
}

type SetButtonLockStateResponse

type SetButtonLockStateResponse struct {
}

type SetLEDStateArgs

type SetLEDStateArgs struct {
	Xmlns string `xml:"xmlns:u,attr"`
	// Allowed Value: On
	// Allowed Value: Off
	DesiredLEDState string `xml:"DesiredLEDState"`
}

type SetLEDStateResponse

type SetLEDStateResponse struct {
}

type SetUseAutoplayVolumeArgs

type SetUseAutoplayVolumeArgs struct {
	Xmlns     string `xml:"xmlns:u,attr"`
	UseVolume bool   `xml:"UseVolume"`
	Source    string `xml:"Source"`
}

type SetUseAutoplayVolumeResponse

type SetUseAutoplayVolumeResponse struct {
}

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"`
}

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 UpnpEvent

type UpnpEvent struct {
	XMLName      xml.Name   `xml:"propertyset"`
	XMLNameSpace string     `xml:"xmlns:e,attr"`
	Properties   []Property `xml:"property"`
}

type VoiceConfigState

type VoiceConfigState uint32

type WifiEnabled

type WifiEnabled bool

type WirelessLeafOnly

type WirelessLeafOnly bool

type WirelessMode

type WirelessMode uint32

type ZoneName

type ZoneName string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL