DiagnosticCapture.RecordTemporaryClipAsync Method

Records a temporary clip with the specified start time and duration. This method is available only on development consoles that are running an exclusive app using the Xbox One XDK.

Syntax

public:
static IAsyncOperation<TemporaryClip^ >^ RecordTemporaryClipAsync(
         DateTime startTime,
         TimeSpan duration
)  

Parameters

startTime
Type: DateTime 

 The time to start recording. This time can be up to 5 minutes in the past. Specify the time as a system time (GMT) not local time.

duration
Type: TimeSpan 

 The duration of the recording in 100-nanosecond units.

Return value

Type: IAsyncOperation<TemporaryClip^ > 

An interface for tracking the progress of the asynchronous call.

Remarks

The recorded TemporaryClip is stored in the temporary partition and is automatically deleted when the console is rebooted. The clip is not uploaded.

Calling this method on a retail console will result in an error code being passed to the Completed handler for the asynchronous operation.

Note Exclusive app test kits are no longer available for purchase. However, any test kits that you have previously acquired are still supported.

Requirements

Namespace: Windows.Xbox.Media.Capture

Metadata: windows.winmd

See also

Reference

DiagnosticCapture Class

DiagnosticCapture Members

Windows.Xbox.Media.Capture Namespace