pub mod commands;
pub mod events;
pub mod types;
pub struct Domain<'a> {
pub(super) session: &'a ydp_core::Session,
}
impl<'a> Domain<'a> {
pub fn clear_device_orientation_override(
&self,
params: commands::ClearDeviceOrientationOverrideParams,
) -> ydp_core::Request<commands::ClearDeviceOrientationOverride> {
self.session
.send::<commands::ClearDeviceOrientationOverride>(params)
}
pub fn set_device_orientation_override(
&self,
params: commands::SetDeviceOrientationOverrideParams,
) -> ydp_core::Request<commands::SetDeviceOrientationOverride> {
self.session
.send::<commands::SetDeviceOrientationOverride>(params)
}
}