[][src]Function realsense_sys::rs2_playback_device_set_status_changed_callback

pub unsafe extern "C" fn rs2_playback_device_set_status_changed_callback(
    device: *const rs2_device,
    callback: *mut rs2_playback_status_changed_callback,
    error: *mut *mut rs2_error
)

Register to receive callback from playback device upon its status changes

Callbacks are invoked from the reading thread, any heavy processing in the callback handler will affect the reading thread and may cause frame drops\ high latency \param[in] device A playback device \param[in] callback A callback handler that will be invoked when the playback status changes \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored