pub unsafe trait SCStreamOutput: NSObjectProtocol {
// Provided method
unsafe fn stream_didOutputSampleBuffer_ofType(
&self,
stream: &SCStream,
sample_buffer: &CMSampleBuffer,
type: SCStreamOutputType,
)
where Self: Sized + Message { ... }
}Available on crate feature
SCStream only.Expand description
Provided Methods§
Sourceunsafe fn stream_didOutputSampleBuffer_ofType(
&self,
stream: &SCStream,
sample_buffer: &CMSampleBuffer,
type: SCStreamOutputType,
)
Available on crate feature objc2-core-media only.
unsafe fn stream_didOutputSampleBuffer_ofType( &self, stream: &SCStream, sample_buffer: &CMSampleBuffer, type: SCStreamOutputType, )
objc2-core-media only.stream:didOutputSampleBuffer:ofType:
Parameter sampleBuffer: the sample buffer
Parameter type: the sample buffer type
protocol method for passing back screen sample buffers
Trait Implementations§
impl<T> ImplementedBy<T> for dyn SCStreamOutput
Source§impl ProtocolType for dyn SCStreamOutput
impl ProtocolType for dyn SCStreamOutput
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".