Udostępnij za pośrednictwem


MediaCapture.StartPreviewAsync Method

Definition

Starts preview.

public:
 virtual IAsyncAction ^ StartPreviewAsync() = StartPreviewAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction StartPreviewAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartPreviewAsync();
function startPreviewAsync()
Public Function StartPreviewAsync () As IAsyncAction

Returns

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

Attributes

Windows requirements

App capabilities
backgroundMediaRecording microphone webcam

Applies to