Class: Spectrum720

Inherits:
Spectrum show all
Defined in:
lib/platform/stb/spectrum/spectrum_720/spectrum_720.rb

Overview

Adds to or modifies the Spectrum platform with Spectrum720-specific functionality.

Instance Attribute Summary

Attributes inherited from Platform

#id, #keys, #remotes, #roi, #screens

Instance Method Summary collapse

Methods inherited from Spectrum

#init?, #power_on?

Methods inherited from Stb

#in_standby?, #init?, #password, #power_on?, #username

Methods included from RoiHelper

#roi_resolution

Methods inherited from Platform

#alt_parental_controls_pin, #app_version, #audio_level, #audio_level_left, #audio_level_right, #audio_present?, #capture_audio, #capture_frames, #capture_screen, #device_type_is?, #device_type_not?, #entitlements, #has_power?, #height, #high_def?, #init?, #ip_address, #is_generic?, #lock, #mac_address, #model, #name, #parental_controls_pin, #password, #platform, #power_cycle, #power_off, #power_on, #power_on?, #press_key, #record_audio, #record_video, #remote_type=, #remote_type_is?, #reset_video, #resolution, #save_last_screen_captured, #slot, #snmp_get, #snmp_set, #software_version, #stop_audio, #stop_video, #upload_screenshot, #username, #width

Constructor Details

#initialize(*args) ⇒ Spectrum720

Public: Initializes a Spectrum 720p device.



9
10
11
12
# File 'lib/platform/stb/spectrum/spectrum_720/spectrum_720.rb', line 9

def initialize(*args)
  super(*args)
  @roi = Spectrum720Rois.new(self)
end