module

GPhoto2::Camera::Event

Provides methods to wait for events.

Instance methods

wait(timeout : Time::Span = 2.seconds) : CameraEvent
Source
wait_for(event_type : CameraEvent::Type, timeout : Time::Span = 2.seconds) : CameraEvent

Waits for the specified event type and returns the event.

NOTE: this method is blocking.

Source