Class: SonyCameraRemoteAPI::LiveviewFrameInformation::Frame

Inherits:
Object
  • Object
show all
Defined in:
lib/sony_camera_remote_api/packet.rb

Overview

Frame class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(frame) ⇒ Frame

Returns a new instance of Frame


91
92
93
94
95
96
97
# File 'lib/sony_camera_remote_api/packet.rb', line 91

def initialize(frame)
  @top_left = frame.top_left
  @bottom_right = frame.bottom_right
  @category = frame.category
  @status = frame.status
  @additional_status = frame.additional_status
end

Instance Attribute Details

#additional_statusObject (readonly)

Returns the value of attribute additional_status


89
90
91
# File 'lib/sony_camera_remote_api/packet.rb', line 89

def additional_status
  @additional_status
end

#bottom_rightObject (readonly)

Returns the value of attribute bottom_right


89
90
91
# File 'lib/sony_camera_remote_api/packet.rb', line 89

def bottom_right
  @bottom_right
end

#categoryObject (readonly)

Returns the value of attribute category


89
90
91
# File 'lib/sony_camera_remote_api/packet.rb', line 89

def category
  @category
end

#statusObject (readonly)

Returns the value of attribute status


89
90
91
# File 'lib/sony_camera_remote_api/packet.rb', line 89

def status
  @status
end

#top_leftObject (readonly)

Returns the value of attribute top_left


89
90
91
# File 'lib/sony_camera_remote_api/packet.rb', line 89

def top_left
  @top_left
end