Skip to main content

AVCaptureDataOutputSynchronizerDelegate

Trait AVCaptureDataOutputSynchronizerDelegate 

Source
pub unsafe trait AVCaptureDataOutputSynchronizerDelegate: NSObjectProtocol {
    // Provided method
    unsafe fn dataOutputSynchronizer_didOutputSynchronizedDataCollection(
        &self,
        synchronizer: &AVCaptureDataOutputSynchronizer,
        synchronized_data_collection: &AVCaptureSynchronizedDataCollection,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature AVCaptureDataOutputSynchronizer only.
Expand description

Provided Methods§

Source

unsafe fn dataOutputSynchronizer_didOutputSynchronizedDataCollection( &self, synchronizer: &AVCaptureDataOutputSynchronizer, synchronized_data_collection: &AVCaptureSynchronizedDataCollection, )
where Self: Sized + Message,

Called when an AVCaptureDataOutputSynchronizer instance outputs synchronized data from one or more data outputs.

Parameter synchronizer: The AVCaptureDataOutputSynchronizer instance delivering synchronized data.

Parameter synchronizedDataCollection: A collection of synchronized data objects indexed by data output.

The synchronized data collection only contains synchronized data for capture outputs with synchronized data ready.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn AVCaptureDataOutputSynchronizerDelegate

Source§

impl ProtocolType for dyn AVCaptureDataOutputSynchronizerDelegate

Source§

const NAME: &'static str = "AVCaptureDataOutputSynchronizerDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> AVCaptureDataOutputSynchronizerDelegate for ProtocolObject<T>

Implementors§