FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CameraCaptureUI

    struct · ferroui-media-camera-controls · v0.5.0

    struct CameraCaptureUI
    

    View source

    Members

    TYPE

    const TYPE: &'static $crate::TypeInfo
    

    The runtime type of this class.

    Source

    to_ref

    fn to_ref(self: &Self) -> $crate::Ref<CameraCaptureUI>
    

    Returns a strong reference to this object.

    Source

    construct

    fn construct() -> Self
    

    Source

    new

    fn new() -> Ref<Self>
    

    Source

    set_provider_factory

    fn set_provider_factory(self: &Self, factory: Option<Rc<CameraProviderFactory>>, budget: FrameBudget)
    

    Configures resources only. Starting still requires an explicit user action.

    Source

    set_start_options

    fn set_start_options(self: &Self, options: CameraStartOptions)
    

    Source

    completed

    fn completed(self: &Self) -> MediaEvent<CameraCaptureResult>
    

    Source

    errors

    fn errors(self: &Self) -> MediaEvent<CameraError>
    

    Source

    preview

    fn preview(self: &Self) -> Option<Ref<CameraPreview>>
    

    Source

    is_busy

    fn is_busy(self: &Self) -> bool
    

    Source

    start_preview

    fn start_preview(self: &Self)
    

    Source

    take_photo

    fn take_photo(self: &Self)
    

    Source

    start_recording

    fn start_recording(self: &Self)
    

    Source

    finish_recording

    fn finish_recording(self: &Self)
    

    Source

    cancel

    fn cancel(self: &Self)
    

    Source

    Trait implementations

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.