Class BeginSessionOptions

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

public final class BeginSessionOptions extends Object
Options for a session to be created.
  • Constructor Details

    • BeginSessionOptions

      public BeginSessionOptions()
  • Method Details

    • setMaxLeaseTime

      public BeginSessionOptions setMaxLeaseTime(Duration maxLeaseTime)
      Set the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.
      Parameters:
      maxLeaseTime - the maxLeaseTime value
      Returns:
      this BeginSessionOptions object.
    • setSize

      Set the size property: Size of the server used for the rendering session. Remote Rendering with Standard size server has a maximum scene size of 20 million polygons. Remote Rendering with Premium size does not enforce a hard maximum, but performance may be degraded if your content exceeds the rendering capabilities of the service.
      Parameters:
      size - the size value
      Returns:
      this BeginSessionOptions object.
    • getMaxLeaseTime

      public Duration getMaxLeaseTime()
      Get the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.
      Returns:
      the maxLeaseTime value.
    • getSize

      public RenderingSessionSize getSize()
      Get the size property: Size of the server used for the rendering session. Remote Rendering with Standard size server has a maximum scene size of 20 million polygons. Remote Rendering with Premium size does not enforce a hard maximum, but performance may be degraded if your content exceeds the rendering capabilities of the service.
      Returns:
      the size value.