Compartilhar via


Camera APIs for native code (Windows Phone 8)

July 21, 2014

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

This section describes the camera capture interfaces for native code. Use them for advanced photo, video, and audio capture in Windows Phone 8 apps.

Capture interfaces for native code

The following interfaces extend the Windows.Phone.Media.Capture classes for native code.

Interface

Methods

Use

More info

ICameraCapturePreviewSink

OnFrameAvailable

Photos and Video

ICameraCapturePreviewSink interface for Windows Phone 8

ICameraCaptureDeviceNative

SetPreviewSink, SetPreviewFormat, GetPreviewBufferTexture, SetDevice

Photos and Video

ICameraCaptureDeviceNative interface for Windows Phone 8

IAudioVideoCaptureDeviceNative

SetAudioSampleSink, SetVideoSampleSink

Video

IAudioVideoCaptureDeviceNative interface for Windows Phone 8

ICameraCaptureSampleSink

OnSampleAvailable

Video

ICameraCaptureSampleSink interface for Windows Phone 8

See Also

Other Resources

Advanced photo capture for Windows Phone 8

Advanced capture properties for Windows Phone 8