MediaCapturePreviewSink class

Applies to Windows Phone only

Represents a video sink for preview video from the device's camera.

Syntax


var mediaCapturePreviewSink = new Windows.Phone.Media.Capture.MediaCapturePreviewSink();
var mediaCapturePreviewSink = new Windows.Phone.Media.Capture.MediaCapturePreviewSink(string);

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The MediaCapturePreviewSink class has these types of members:

Constructors

The MediaCapturePreviewSink class has these constructors.

ConstructorDescription
MediaCapturePreviewSink Initializes a new instance of the MediaCapturePreviewSink class.
MediaCapturePreviewSink(String) Initializes a new instance of the MediaCapturePreviewSink class with the specified connection port string.

 

Methods

The MediaCapturePreviewSink class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
Close Closes the MediaCapturePreviewSink.
SetProperties Sets the configuration properties that were supplied when the media parser or codec was registered.

 

Properties

The MediaCapturePreviewSink class has these properties.

PropertyAccess typeDescription

ConnectionPort

Read-onlyGets a string representing the connection port for the preview sink.

 

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

End of phone support

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

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

Metadata

Windows.winmd

See also

Object
IMediaExtension
IMediaCapturePreviewSink

 

 

Community Additions

ADD
Show:
© 2014 Microsoft