Documentation ¶
Index ¶
- type Device
- func (d *Device) Disconnect() error
- func (d *Device) GetBrightness() (string, error)
- func (d *Device) GetModel() (string, error)
- func (d *Device) GetMuteStatus() (string, error)
- func (d *Device) GetPowerState() (string, error)
- func (d *Device) GetRead() (*bufio.Reader, error)
- func (d *Device) GetSource() (string, error)
- func (d *Device) GetVolume() (string, error)
- func (d *Device) PowerOff() error
- func (d *Device) PowerOn() error
- func (d *Device) PowerToggle() error
- func (d *Device) ToggleBrightness(direction Direction) error
- func (d *Device) ToggleMute() error
- func (d *Device) ToggleSource(direction Direction) (string, error)
- func (d *Device) TuneVolume(direction Direction) error
- type Direction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
// contains filtered or unexported fields
}
Device is a generic nad receiver
func (*Device) GetBrightness ¶
GetBrightness retrieve the brightness level from the device
func (*Device) GetPowerState ¶
GetPowerState retrieves the current power state
func (*Device) ToggleBrightness ¶
ToggleBrightness change the screen brightness of the device
func (*Device) ToggleSource ¶
ToggleSource changes the input source
func (*Device) TuneVolume ¶
TuneVolume increases or decreases the device volume
Click to show internal directories.
Click to hide internal directories.