pub trait VisualObserver: Send + Sync {
// Required method
fn observe_visual<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Value, AdkError>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Available on crate features
stream and vision only.Expand description
A source of computer-use observations: the observe_visual half of
adk_computer_use::ComputerUseRuntime, which a computer-use-mcp runtime answers with a
snapshot.
With feature computer-use, RuntimeObserver implements it over any
adk_computer_use::ComputerUseRuntime, and screen_source builds the ScreenSource.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".