Trait appium_client::commands::recording::IOSCanRecordScreen
source · pub trait IOSCanRecordScreen: CanRecordScreen {
// Provided methods
fn start_recording<'life0, 'async_trait>(
&'life0 self,
video_codec: Option<String>,
video_quality: Option<IOSVideoQuality>,
fps: Option<u8>,
video_scale: Option<String>,
video_filters: Option<String>,
force_restart: Option<bool>,
time_limit: Option<Duration>,
options: ScreenRecordingUploadOptions
) -> Pin<Box<dyn Future<Output = Result<String, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
fn stop_recording<'life0, 'async_trait>(
&'life0 self,
options: ScreenRecordingUploadOptions
) -> Pin<Box<dyn Future<Output = Result<String, CmdError>> + Send + 'async_trait>>
where Self: Sync + 'async_trait,
'life0: 'async_trait { ... }
}
Expand description
Record screen with iOS-specific encoding options
Provided Methods§
sourcefn start_recording<'life0, 'async_trait>(
&'life0 self,
video_codec: Option<String>,
video_quality: Option<IOSVideoQuality>,
fps: Option<u8>,
video_scale: Option<String>,
video_filters: Option<String>,
force_restart: Option<bool>,
time_limit: Option<Duration>,
options: ScreenRecordingUploadOptions
) -> Pin<Box<dyn Future<Output = Result<String, CmdError>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
fn start_recording<'life0, 'async_trait>( &'life0 self, video_codec: Option<String>, video_quality: Option<IOSVideoQuality>, fps: Option<u8>, video_scale: Option<String>, video_filters: Option<String>, force_restart: Option<bool>, time_limit: Option<Duration>, options: ScreenRecordingUploadOptions ) -> Pin<Box<dyn Future<Output = Result<String, CmdError>> + Send + 'async_trait>>where Self: Sync + 'async_trait, 'life0: 'async_trait,
Starts screen recording (Android).
video_codec - ffmpeg video codec type used for encoding of the recorded screen capture (see ffmpeg -codecs
).
video_quality - Quality of video encoding. Only works for real devices.
fps - The Frames Per Second rate of the recorded video (1..60). Defaults to 10.
video_scale - ffmpeg video scaling, none by default (https://trac.ffmpeg.org/wiki/Scaling).
video_filters - ffmpeg video filters (eg. transpose=1
, https://ffmpeg.org/ffmpeg-filters.html).