Class: DjiMqttConnect::Thing::Product::CameraFocusModeSetServicesMessage
- Inherits:
-
ServicesMessage
- Object
- Dry::Struct
- Message
- ServicesMessage
- DjiMqttConnect::Thing::Product::CameraFocusModeSetServicesMessage
- Defined in:
- lib/dji_mqtt_connect/messages/thing/product/services/camera_focus_mode_set.rb
Overview
Constant Summary collapse
- CAMERA_TYPE_WIDE =
"wide"- CAMERA_TYPE_ZOOM =
"zoom"- FOCUS_MODE_MF =
"0":"MF","1":"AFS","2":"AFC"
0- FOCUS_MODE_AFS =
1- FOCUS_MODE_AFC =
2
Class Method Summary collapse
Methods inherited from ServicesMessage
#flight_ids, #humanized_summary, #humanized_summary_interpolation
Methods inherited from Message
current_timestamp, generate_bid, generate_tid, #to_s
Class Method Details
.build(data:, bid: generate_bid, tid: generate_tid, timestamp: current_timestamp) ⇒ Object
7 8 9 10 11 12 13 14 15 |
# File 'lib/dji_mqtt_connect/messages/thing/product/services/camera_focus_mode_set.rb', line 7 def self.build(data:, bid: generate_bid, tid: generate_tid, timestamp: ) new( bid: bid, tid: tid, timestamp: , _method: "camera_focus_mode_set", data: data ) end |