RenderingSession Class
- java.
lang. Object - com.
azure. mixedreality. remoterendering. models. RenderingSession
- com.
public final class RenderingSession
Holds the properties of a rendering session.
Constructor Summary
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
getArrInspectorPort()
Get the arr |
Offset |
getCreationTime()
Get the creation |
Duration |
getElapsedTime()
Get the elapsed |
Remote |
getError()
Get the error property: The error object containing details about the rendering session startup failure. |
int |
getHandshakePort()
Get the handshake |
String |
getHostname()
Get the hostname property: The hostname under which the rendering session is reachable. |
String |
getId()
Get the id property: The id of the session supplied when the conversion was created. |
Duration |
getMaxLeaseTime()
Get the max |
Rendering |
getSize()
Get the size property: Size of the server used for the rendering session. |
Rendering |
getStatus()
Get the status property: The status of the rendering session. |
float |
getTeraflops()
Get the teraflops property: The computational power of the rendering session GPU measured in Teraflops. |
Methods inherited from java.lang.Object
Constructor Details
RenderingSession
public RenderingSession(String id, int arrInspectorPort, int handshakePort, Duration elapsedTime, String hostname, Duration maxLeaseTime, RenderingSessionSize sessionSize, RenderingSessionStatus sessionStatus, float teraflops, RemoteRenderingServiceError error, OffsetDateTime creationTime)
Constructs a new RenderingSession object.
Parameters:
Method Details
getArrInspectorPort
public int getArrInspectorPort()
Get the arrInspectorPort property: The TCP port at which the Azure Remote Rendering Inspector tool is hosted.
Returns:
getCreationTime
public OffsetDateTime getCreationTime()
Get the creationTime property: The time when the rendering session was created. Date and time in ISO 8601 format.
Returns:
getElapsedTime
public Duration getElapsedTime()
Get the elapsedTime property: Amount of time the session is or has been in Ready state. Time is rounded down to a full minute.
Returns:
getError
public RemoteRenderingServiceError getError()
Get the error property: The error object containing details about the rendering session startup failure.
Returns:
getHandshakePort
public int getHandshakePort()
Get the handshakePort property: The TCP port used for the handshake.
Returns:
getHostname
public String getHostname()
Get the hostname property: The hostname under which the rendering session is reachable.
Returns:
getId
public String getId()
Get the id property: The id of the session supplied when the conversion was created.
Returns:
getMaxLeaseTime
public Duration getMaxLeaseTime()
Get the maxLeaseTime property: The time the session will run after reaching the 'Ready' state.
Returns:
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:
getStatus
public RenderingSessionStatus getStatus()
Get the status property: The status of the rendering session. Once the status reached the 'Ready' state it can be connected to. The terminal state is 'Stopped'.
Returns:
getTeraflops
public float getTeraflops()
Get the teraflops property: The computational power of the rendering session GPU measured in Teraflops.
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