AssetConversion Class
- java.
lang. Object - com.
azure. mixedreality. remoterendering. models. AssetConversion
- com.
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 Asset |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
getCreationTime()
Get the creation |
Remote |
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. |
Asset |
getOptions()
Get the conversion options: Options for where to retrieve input files from and where to write output files. |
String |
getOutputAssetUrl()
Get the output |
Asset |
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:
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:
getError
public RemoteRenderingServiceError getError()
Get the error property: The error object containing details about the conversion failure.
Returns:
getId
public String getId()
Get the id property: The id of the conversion supplied when the conversion was created.
Returns:
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:
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:
getStatus
public AssetConversionStatus getStatus()
Get the status property: The status of the conversion. Terminal states are CANCELLED, FAILED, or SUCCEEDED.
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for