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.
public:
static IAsyncOperation<TemporaryClip^ >^ RecordTemporaryClipAsync(
DateTime startTime,
TimeSpan duration
)
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.
Type: IAsyncOperation<TemporaryClip^ >
An interface for tracking the progress of the asynchronous call.
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.
Namespace: Windows.Xbox.Media.Capture
Metadata: windows.winmd