共用方式為


ICameraCapturePreviewSink interface for Windows Phone 8

July 21, 2014

Applies to: Windows Phone 8 and Windows Phone Silverlight 8.1 only

Exposes a method to receive frames from the camera preview.

Method

The ICameraCapturePreviewSink interface inherits from the IUnknown interface. ICameraCapturePreviewSink has this method.

Method

Description

ICameraCapturePreviewSink::OnFrameAvailable method for Windows Phone 8

Performs caller-implemented actions each time a frame from the camera preview is available.

Remarks

Use this sink by calling the ICameraCaptureDeviceNative::SetPreviewSink method for Windows Phone 8. You can also specify the format of the image data using the ICameraCaptureDeviceNative::SetPreviewFormat method for Windows Phone 8.

Requirements

Minimum supported phone

Windows Phone 8

Header

Windows.Phone.Media.Capture.Native.h

Namespace

Windows::Phone::Media::Capture

See Also

Reference

Windows.Phone.Media.Capture

Other Resources

Advanced photo capture for Windows Phone 8

Advanced capture properties for Windows Phone 8