ApplicationClipCapture.StopRecordAsync Method

Stop recording the clip.

Syntax

public:
IAsyncOperationWithProgress<ApplicationClip^ , ApplicationClip^ >^ StopRecordAsync(
         ApplicationClipInfo^ clipInfo
)  

Parameters

clipInfo
Type: ApplicationClipInfo 

Information about the clip to stop.

Return value

Type: IAsyncOperationWithProgress<ApplicationClip^ , ApplicationClip^ > 

An interface for tracking the progress of the asynchronous call. The system calls the Progress method after all the data has been written to disk. Titles can access the local clip via ApplicationClip object returned in this call.

The system calls the Completed method after the metadata for the clip was uploaded to the cloud. In this call, the ApplicationClip object includes the CloudId in addition to the metadata for the local clip.

For recoverable errors, the system sends ApplicationClipError::UploadPending to the Completed method. The system will retry the upload several times.

For unrecoverable errors, the system sends the appropriate error code to the Completed method.

Requirements

Namespace: Windows.Xbox.Media.Capture

Metadata: windows.winmd

See also

Reference

ApplicationClipCapture Class

ApplicationClipCapture Members

Windows.Xbox.Media.Capture Namespace