public class MediaJobOutput extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
MediaJobOutput()
Private constructor for deserialization.
|
|
MediaJobOutput(long progress,
MediaJobState state)
Creates an instance of MediaJobOutput class.
|
| Modifier and Type | Method and Description |
|---|---|
MediaJobError |
error()
Get gets the Job output error.
|
String |
label()
Get gets the Job output label.
|
long |
progress()
Get gets the Job output progress.
|
MediaJobState |
state()
Get gets the Job output state.
|
MediaJobOutput |
withError(MediaJobError error)
Set gets the Job output error.
|
MediaJobOutput |
withLabel(String label)
Set gets the Job output label.
|
public MediaJobOutput(long progress,
MediaJobState state)
progress - gets the Job output progress.state - gets the Job output state. Possible values include: 'Canceled', 'Canceling', 'Error', 'Finished', 'Processing', 'Queued', 'Scheduled'.protected MediaJobOutput()
public MediaJobError error()
public MediaJobOutput withError(MediaJobError error)
error - the error value to setpublic String label()
public MediaJobOutput withLabel(String label)
label - the label value to setpublic long progress()
public MediaJobState state()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/