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 : IPrepareTranscodeResultpublic sealed class PrepareTranscodeResult : IPrepareTranscodeResultPublic NotInheritable Class PrepareTranscodeResult Implements IPrepareTranscodeResult// You can use this class in JavaScript.
- 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// You can use this property in JavaScript.
- 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// You can use this property in JavaScript.
The reason for the transcode failure.
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 )// You can use this method in JavaScript.
Returns
IAsyncActionWithProgress<double>
IAsyncActionWithProgress<double>
IAsyncActionWithProgress<double>
IAsyncActionWithProgress<double>
An object that is used to control the asynchronous operation.
- See Also