MediaCapturePreviewSink class

MediaCapturePreviewSink class

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

Syntax


public sealed class MediaCapturePreviewSink : IMediaExtension,
    IMediaCapturePreviewSink

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. 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-only

Gets a string representing the connection port for the preview sink.

 

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only]

Namespace

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

Metadata

Windows.WinMD

Attributes

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

See also

Object
IMediaExtension
IMediaCapturePreviewSink

 

 

Show:
© 2017 Microsoft