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 to onReceivedFrame, onDecodedFrame event.
  • 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

      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 String getMessage()
      Returns the attached message.
    • getSource

      public SoRemoteVizClient getSource()
      Returns the SoRemoteVizClient node that triggered the event.
      Specified by:
      getSource in interface SbEventArg