Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AdvancedPhotoCapture.CaptureAsync Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
CaptureAsync()

Asynchronously performs an advanced photo capture.

CaptureAsync(Object)

Asynchronously performs an advanced photo capture passing the provided app-defined context object to the result of the operation.

CaptureAsync()

Asynchronously performs an advanced photo capture.

public:
 virtual IAsyncOperation<AdvancedCapturedPhoto ^> ^ CaptureAsync() = CaptureAsync;
/// [Windows.Foundation.Metadata.Overload("CaptureAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AdvancedCapturedPhoto> CaptureAsync();
[Windows.Foundation.Metadata.Overload("CaptureAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AdvancedCapturedPhoto> CaptureAsync();
function captureAsync()
Public Function CaptureAsync () As IAsyncOperation(Of AdvancedCapturedPhoto)

Returns

An asynchronous operation that returns an AdvancedCapturedPhoto upon successful completion.

Attributes

Remarks

MediaCapture.PrepareAdvancedPhotoCaptureAsync must be called before calling CaptureAsync.

Concurrently recording video and photo capture using AdvancedPhotoCapture is not supported.

See also

Applies to

CaptureAsync(Object)

Asynchronously performs an advanced photo capture passing the provided app-defined context object to the result of the operation.

public:
 virtual IAsyncOperation<AdvancedCapturedPhoto ^> ^ CaptureAsync(Platform::Object ^ context) = CaptureAsync;
/// [Windows.Foundation.Metadata.Overload("CaptureWithContextAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<AdvancedCapturedPhoto> CaptureAsync(IInspectable const& context);
[Windows.Foundation.Metadata.Overload("CaptureWithContextAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<AdvancedCapturedPhoto> CaptureAsync(object context);
function captureAsync(context)
Public Function CaptureAsync (context As Object) As IAsyncOperation(Of AdvancedCapturedPhoto)

Parameters

context
Object

Platform::Object

IInspectable

An app-defined context object that passes context information to the result of the operation.

Returns

An asynchronous operation that returns an AdvancedCapturedPhoto upon successful completion.

Attributes

Remarks

MediaCapture.PrepareAdvancedPhotoCaptureAsync must be called before calling CaptureAsync.

Concurrently recording video and photo capture using AdvancedPhotoCapture is not supported.

See also

Applies to


Feedback

Was this page helpful?