Class SoRemoteVizClient.FrameEventArg
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.remoteviz.clients.nodes.SoRemoteVizClient.FrameEventArg
- All Implemented Interfaces:
SbEventArg
- Enclosing class:
SoRemoteVizClient
Structure given when a received and decoded frame event is raised.
Please refer to
onReceivedFrame
, 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
ConstructorsConstructorDescriptionFrameEventArg
(SoRemoteVizClient source, long id, long dataLength, boolean isLossless, String message) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the frame data length.long
getId()
Returns the frame ID.Returns the attached message.Returns theSoRemoteVizClient
node that triggered the event.boolean
Returns if the frame encoding is lossless.void
setValue
(SoRemoteVizClient.FrameEventArg copyFrom) Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
FrameEventArg
public FrameEventArg(SoRemoteVizClient source, long id, long dataLength, boolean isLossless, String message) Default constructor.
-
-
Method Details
-
getDataLength
public long getDataLength()Returns the frame data length. -
setValue
-
isLossless
public boolean isLossless()Returns if the frame encoding is lossless. -
getId
public long getId()Returns the frame ID. -
getMessage
Returns the attached message. -
getSource
Returns theSoRemoteVizClient
node that triggered the event.- Specified by:
getSource
in interfaceSbEventArg
-