Class SoRemoteVizClient.FrameEventArg
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.remoteviz.clients.nodes.SoRemoteVizClient.FrameEventArg
-
- All Implemented Interfaces:
SbEventArg
- Enclosing class:
- SoRemoteVizClient
public static class SoRemoteVizClient.FrameEventArg extends Inventor implements SbEventArg
Structure given when a received and decoded frame event is raised. Please refer toonReceivedFrame
,onDecodedFrame
event.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description FrameEventArg(SoRemoteVizClient source, long id, long dataLength, boolean isLossless, java.lang.String message)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDataLength()
Returns the frame data length.long
getId()
Returns the frame ID.java.lang.String
getMessage()
Returns the attached message.SoRemoteVizClient
getSource()
Returns theSoRemoteVizClient
node that triggered the event.boolean
isLossless()
Returns if the frame encoding is lossless.void
setValue(SoRemoteVizClient.FrameEventArg copyFrom)
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Constructor Detail
-
FrameEventArg
public FrameEventArg(SoRemoteVizClient source, long id, long dataLength, boolean isLossless, java.lang.String message)
Default constructor.
-
-
Method Detail
-
getDataLength
public long getDataLength()
Returns the frame data length.
-
setValue
public void setValue(SoRemoteVizClient.FrameEventArg copyFrom)
-
isLossless
public boolean isLossless()
Returns if the frame encoding is lossless.
-
getId
public long getId()
Returns the frame ID.
-
getMessage
public java.lang.String getMessage()
Returns the attached message.
-
getSource
public SoRemoteVizClient getSource()
Returns theSoRemoteVizClient
node that triggered the event.- Specified by:
getSource
in interfaceSbEventArg
-
-