AssetConversion Class

  • java.lang.Object
    • com.azure.mixedreality.remoterendering.models.AssetConversion

public final class AssetConversion

Holds properties of a conversion.

Constructor Summary

Constructor Description
AssetConversion(String id, AssetConversionOptions options, String outputAssetUrl, RemoteRenderingServiceError error, AssetConversionStatus conversionStatus, OffsetDateTime creationTime)

Constructs a new AssetConversion object.

Method Summary

Modifier and Type Method and Description
OffsetDateTime getCreationTime()

Get the creationTime property: The time when the conversion was created.

RemoteRenderingServiceError getError()

Get the error property: The error object containing details about the conversion failure.

String getId()

Get the id property: The id of the conversion supplied when the conversion was created.

AssetConversionOptions getOptions()

Get the conversion options: Options for where to retrieve input files from and where to write output files.

String getOutputAssetUrl()

Get the outputAssetUrl property: URL of the asset generated by the conversion process.

AssetConversionStatus getStatus()

Get the status property: The status of the conversion.

Methods inherited from java.lang.Object

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

getCreationTime

public OffsetDateTime getCreationTime()

Get the creationTime property: The time when the conversion was created. Date and time in ISO 8601 format.

Returns:

the creationTime value.

getError

public RemoteRenderingServiceError getError()

Get the error property: The error object containing details about the conversion failure.

Returns:

the error value.

getId

public String getId()

Get the id property: The id of the conversion supplied when the conversion was created.

Returns:

the id value.

getOptions

public AssetConversionOptions 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

public String 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.

getStatus

public AssetConversionStatus getStatus()

Get the status property: The status of the conversion. Terminal states are CANCELLED, FAILED, or SUCCEEDED.

Returns:

the status value.

Applies to