PrepareTranscodeResult PrepareTranscodeResult PrepareTranscodeResult PrepareTranscodeResult Class

Definition

Represents an asynchronous media transcode deferral operation which can be used to start the transcode operation.

public : sealed class PrepareTranscodeResult : IPrepareTranscodeResult
public sealed class PrepareTranscodeResult : IPrepareTranscodeResult
Public NotInheritable Class PrepareTranscodeResult Implements IPrepareTranscodeResult
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is not instantiated directly. It is returned in a call to prepareFileTranscodeAsync, prepareStreamTranscodeAsync, and PrepareMediaStreamSourceTranscodeAsync.

For how-to guidance on transcoding media files, see Transcode media files.

Properties

CanTranscode CanTranscode CanTranscode CanTranscode

Indicates whether the trancode operation can be performed successfully.

public : Platform::Boolean CanTranscode { get; }
public bool CanTranscode { get; }
Public ReadOnly Property CanTranscode As bool
var bool = prepareTranscodeResult.canTranscode;
Value
Platform::Boolean bool bool bool

True if the trancode operation can be performed successfully; false otherwise.

FailureReason FailureReason FailureReason FailureReason

Specifies the reason for the transcode failure.

public : TranscodeFailureReason FailureReason { get; }
public TranscodeFailureReason FailureReason { get; }
Public ReadOnly Property FailureReason As TranscodeFailureReason
var transcodeFailureReason = prepareTranscodeResult.failureReason;

Methods

TranscodeAsync() TranscodeAsync() TranscodeAsync() TranscodeAsync()

Creates an object to perform an asynchronous media transcode operation on media data.

public : IAsyncActionWithProgress<double> TranscodeAsync()
public IAsyncActionWithProgress<double> TranscodeAsync()
Public Function TranscodeAsync() As IAsyncActionWithProgress( Of double )
var iAsyncActionWithProgress = prepareTranscodeResult.transcodeAsync();
Returns
See Also

See Also