groupmanagement

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 groupmanagement is a generated GroupManagement package.

Index

Constants

View Source
const (
	ServiceURN     = "urn:schemas-upnp-org:service:GroupManagement: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 AddMemberArgs

type AddMemberArgs struct {
	Xmlns    string `xml:"xmlns:u,attr"`
	MemberID string `xml:"MemberID"`
	BootSeq  uint32 `xml:"BootSeq"`
}

type AddMemberResponse

type AddMemberResponse struct {
	CurrentTransportSettings string `xml:"CurrentTransportSettings"`
	CurrentURI               string `xml:"CurrentURI"`
	GroupUUIDJoined          string `xml:"GroupUUIDJoined"`
	ResetVolumeAfter         bool   `xml:"ResetVolumeAfter"`
	VolumeAVTransportURI     string `xml:"VolumeAVTransportURI"`
}

type GroupCoordinatorIsLocal

type GroupCoordinatorIsLocal bool

type LocalGroupUUID

type LocalGroupUUID string

type Property

type Property struct {
	XMLName                 xml.Name                 `xml:"property"`
	GroupCoordinatorIsLocal *GroupCoordinatorIsLocal `xml:"GroupCoordinatorIsLocal"`
	LocalGroupUUID          *LocalGroupUUID          `xml:"LocalGroupUUID"`
	VirtualLineInGroupID    *VirtualLineInGroupID    `xml:"VirtualLineInGroupID"`
	ResetVolumeAfter        *ResetVolumeAfter        `xml:"ResetVolumeAfter"`
	VolumeAVTransportURI    *VolumeAVTransportURI    `xml:"VolumeAVTransportURI"`
}

type RemoveMemberArgs

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

type RemoveMemberResponse

type RemoveMemberResponse struct {
}

type ReportTrackBufferingResultArgs

type ReportTrackBufferingResultArgs struct {
	Xmlns      string `xml:"xmlns:u,attr"`
	MemberID   string `xml:"MemberID"`
	ResultCode int32  `xml:"ResultCode"`
}

type ReportTrackBufferingResultResponse

type ReportTrackBufferingResultResponse struct {
}

type ResetVolumeAfter

type ResetVolumeAfter bool

type Service

type Service struct {
	GroupCoordinatorIsLocal *GroupCoordinatorIsLocal
	LocalGroupUUID          *LocalGroupUUID
	VirtualLineInGroupID    *VirtualLineInGroupID
	ResetVolumeAfter        *ResetVolumeAfter
	VolumeAVTransportURI    *VolumeAVTransportURI
	// contains filtered or unexported fields
}

func NewService

func NewService(opts ...ServiceOption) *Service

func (*Service) AddMember

func (s *Service) AddMember(args *AddMemberArgs) (*AddMemberResponse, error)

func (*Service) Client

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

func (*Service) ControlEndpoint

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

func (*Service) EventEndpoint

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

func (*Service) Location

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

func (*Service) ParseEvent

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

func (*Service) RemoveMember

func (s *Service) RemoveMember(args *RemoveMemberArgs) (*RemoveMemberResponse, error)

func (*Service) ReportTrackBufferingResult

func (s *Service) ReportTrackBufferingResult(args *ReportTrackBufferingResultArgs) (*ReportTrackBufferingResultResponse, error)

func (*Service) SetSourceAreaIds

func (s *Service) SetSourceAreaIds(args *SetSourceAreaIdsArgs) (*SetSourceAreaIdsResponse, error)

type ServiceOption

type ServiceOption func(*Service)

func WithClient

func WithClient(c *http.Client) ServiceOption

func WithLocation

func WithLocation(u *url.URL) ServiceOption

type SetSourceAreaIdsArgs

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

type SetSourceAreaIdsResponse

type SetSourceAreaIdsResponse struct {
}

type UpnpEvent

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

type VirtualLineInGroupID

type VirtualLineInGroupID string

type VolumeAVTransportURI

type VolumeAVTransportURI string

Jump to

Keyboard shortcuts

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