MediaCapture.StartPreviewAsync MediaCapture.StartPreviewAsync MediaCapture.StartPreviewAsync MediaCapture.StartPreviewAsync MediaCapture.StartPreviewAsync Method

Definition

Starts preview.

public : IAsyncAction StartPreviewAsync()
IAsyncAction StartPreviewAsync() const;
public IAsyncAction StartPreviewAsync()
Public Function StartPreviewAsync() As IAsyncAction
Windows.Media.Capture.MediaCapture.startPreviewAsync().done( /* Your success and error handlers */ );

Returns

Returns a IAsyncAction object that is used to control the asynchronous operation.

Additional features and requirements

Capabilities
webcam backgroundMediaRecording microphone