Class: SonyCameraRemoteAPI::LiveviewFrameInformation::Frame
- Inherits:
-
Object
- Object
- SonyCameraRemoteAPI::LiveviewFrameInformation::Frame
- Defined in:
- lib/sony_camera_remote_api/packet.rb
Overview
Frame class
Instance Attribute Summary collapse
-
#additional_status ⇒ Object
readonly
Returns the value of attribute additional_status.
-
#bottom_right ⇒ Object
readonly
Returns the value of attribute bottom_right.
-
#category ⇒ Object
readonly
Returns the value of attribute category.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#top_left ⇒ Object
readonly
Returns the value of attribute top_left.
Instance Method Summary collapse
-
#initialize(frame) ⇒ Frame
constructor
A new instance of Frame.
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_status ⇒ Object (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_right ⇒ Object (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 |
#category ⇒ Object (readonly)
Returns the value of attribute category.
89 90 91 |
# File 'lib/sony_camera_remote_api/packet.rb', line 89 def category @category end |
#status ⇒ Object (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_left ⇒ Object (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 |