pub unsafe trait AVCaptureViewDelegate: NSObjectProtocol {
// Provided method
unsafe fn captureView_startRecordingToFileOutput(
&self,
capture_view: &AVCaptureView,
file_output: &AVCaptureFileOutput,
)
where Self: Sized + Message { ... }
}Available on crate feature
AVCaptureView only.Expand description
Defines an interface for delegates of AVCaptureView.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn captureView_startRecordingToFileOutput(
&self,
capture_view: &AVCaptureView,
file_output: &AVCaptureFileOutput,
)
Available on crate feature objc2-app-kit and crate feature objc2-av-foundation and macOS only.
unsafe fn captureView_startRecordingToFileOutput( &self, capture_view: &AVCaptureView, file_output: &AVCaptureFileOutput, )
objc2-app-kit and crate feature objc2-av-foundation and macOS only.Informs the delegate that a new media recording should be started.
If captureFileOutput is an instance of AVCaptureMovieFileOutput this can be achieved by calling startRecordingToOutputFileURL:recordingDelegate: on the captureFileOutput.