Class AssetConversion

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

public final class AssetConversion extends Object
Holds properties of a 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

      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.
    • getError

      public RemoteRenderingServiceError getError()
      Get the error property: The error object containing details about the conversion failure.
      Returns:
      the error 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.
    • 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.