Share via


ICameraCaptureDeviceNative interface for Windows Phone 8

July 21, 2014

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

Exposes extra operations on the PhotoCaptureDevice and AudioVideoCaptureDevice objects.

Methods

The ICameraCaptureDeviceNative interface inherits from the IUnknown interface. ICameraCaptureDeviceNative has these methods.

Method

Description

ICameraCaptureDeviceNative::SetPreviewSink method for Windows Phone 8

Sets the sink that will receive frames from the camera preview.

ICameraCaptureDeviceNative::SetPreviewFormat method for Windows Phone 8

Sets the format of the frame data that will be sent to the preview sink.

ICameraCaptureDeviceNative::GetPreviewBufferTexture method for Windows Phone 8

Fills a Direct3D 2-D texture with the current preview frame.

ICameraCaptureDeviceNative::SetDevice method for Windows Phone 8

Allows the capture device to share a Direct3D device with the hosting app.

Remarks

To access ICameraCaptureDeviceNative, invoke the IUnknown::QueryInterface method on the instance of the PhotoCaptureDevice class or the AudioVideoCaptureDevice class, using the UUID of ICameraCaptureDeviceNative. These methods are not directly available from managed projections, but you can write your own Windows Runtime objects that wrap them.

Requirements

Minimum supported phone

Windows Phone 8

Header

Windows.Phone.Media.Capture.Native.h

Namespace

Windows::Phone::Media::Capture

See Also

Other Resources

Advanced photo capture for Windows Phone 8

Advanced capture properties for Windows Phone 8