use super::{AppInfo, Device, DeviceInfo, DeviceState, Result, TvAdapter, TvError, TvKey}; /// The Roku ECP adapter placeholder for the foundation milestone. #[derive(Debug, Clone, Default)] pub struct RokuAdapter; impl RokuAdapter { /// Create a new Roku adapter instance. pub fn new() -> Self { Self } } impl TvAdapter for RokuAdapter { async fn discover(&self) -> Result> { Err(TvError::NotSupported("discover")) } async fn state(&self, _device: &Device) -> Result { Err(TvError::NotSupported("state")) } async fn launch(&self, _device: &Device, _app: &str) -> Result<()> { Err(TvError::NotSupported("launch")) } async fn stop_app(&self, _device: &Device) -> Result<()> { Err(TvError::NotSupported("stop_app")) } async fn key(&self, _device: &Device, _key: TvKey) -> Result<()> { Err(TvError::NotSupported("key")) } async fn sequence(&self, _device: &Device, _keys: Vec) -> Result<()> { Err(TvError::NotSupported("sequence")) } async fn list_apps(&self, _device: &Device) -> Result> { Err(TvError::NotSupported("list_apps")) } }