Class AssetConversion
java.lang.Object
com.azure.mixedreality.remoterendering.models.AssetConversion
Holds properties of a conversion.
-
Constructor Summary
ConstructorDescriptionAssetConversion
(String id, AssetConversionOptions options, String outputAssetUrl, RemoteRenderingServiceError error, AssetConversionStatus conversionStatus, OffsetDateTime creationTime) Constructs a new AssetConversion object. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: The time when the conversion was created.getError()
Get the error property: The error object containing details about the conversion failure.getId()
Get the id property: The id of the conversion supplied when the conversion was created.Get the conversion options: Options for where to retrieve input files from and where to write output files.Get the outputAssetUrl property: URL of the asset generated by the conversion process.Get the status property: The status of the conversion.
-
Constructor Details
-
AssetConversion
public AssetConversion(String id, AssetConversionOptions options, String outputAssetUrl, RemoteRenderingServiceError error, AssetConversionStatus conversionStatus, OffsetDateTime creationTime) Constructs a new AssetConversion object.- Parameters:
id
- The id of the conversion supplied when the conversion was created.options
- Options for where to retrieve input files from and where to write output files.outputAssetUrl
- URL of the asset generated by the conversion process. Only present when the status of the conversion is 'Succeeded'.error
- The error object containing details about the conversion failure.conversionStatus
- The status of the conversion. Terminal states are CANCELLED, FAILED, or SUCCEEDED.creationTime
- The time when the conversion was created. Date and time in ISO 8601 format.
-
-
Method Details
-
getId
Get the id property: The id of the conversion supplied when the conversion was created.- Returns:
- the id value.
-
getOptions
Get the conversion options: Options for where to retrieve input files from and where to write output files. Supplied when creating the conversion.- Returns:
- the conversion options value.
-
getOutputAssetUrl
Get the outputAssetUrl property: URL of the asset generated by the conversion process. Only present when the status of the conversion is 'Succeeded'.- Returns:
- the outputAssetUrl value.
-
getError
Get the error property: The error object containing details about the conversion failure.- Returns:
- the error value.
-
getStatus
Get the status property: The status of the conversion. Terminal states are CANCELLED, FAILED, or SUCCEEDED.- Returns:
- the status value.
-
getCreationTime
Get the creationTime property: The time when the conversion was created. Date and time in ISO 8601 format.- Returns:
- the creationTime value.
-