Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AudioVideoCaptureDevice.GetPreviewBufferY method

Copies the luminance data for the current viewfinder frame into a buffer for further manipulation.

Syntax


public void GetPreviewBufferY(
  out byte[] pixels
)

Parameters

pixels (out parameter)

Type: System.Byte[] [.NET] | Platform::Array<uint8> [C++]

The Y pixel data.

Remarks

When this method is called on the emulator, it returns a buffer that is filled with the color black.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Media.Capture
Windows::Phone::Media::Capture [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_ISV_CAMERA [Windows Phone]
ID_CAP_MICROPHONE [Windows Phone]

Attributes

[Deprecated()]

See also

AudioVideoCaptureDevice

 

 

Show: