Class CallArgument

java.lang.Object
io.webfolder.cdp.type.runtime.CallArgument

public class CallArgument
extends java.lang.Object
Represents function call argument Either remote object id `objectId`, primitive `value`, unserializable primitive value or neither of (for undefined) them should be specified
  • Constructor Summary

    Constructors 
    Constructor Description
    CallArgument()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getObjectId()
    Remote object handle.
    java.lang.String getUnserializableValue()
    Primitive value which can not be JSON-stringified.
    java.lang.Object getValue()
    Primitive value or serializable javascript object.
    void setObjectId​(java.lang.String objectId)
    Remote object handle.
    void setUnserializableValue​(java.lang.String unserializableValue)
    Primitive value which can not be JSON-stringified.
    void setValue​(java.lang.Object value)
    Primitive value or serializable javascript object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getValue

      public java.lang.Object getValue()
      Primitive value or serializable javascript object.
    • setValue

      public void setValue​(java.lang.Object value)
      Primitive value or serializable javascript object.
    • getUnserializableValue

      public java.lang.String getUnserializableValue()
      Primitive value which can not be JSON-stringified.
    • setUnserializableValue

      public void setUnserializableValue​(java.lang.String unserializableValue)
      Primitive value which can not be JSON-stringified.
    • getObjectId

      public java.lang.String getObjectId()
      Remote object handle.
    • setObjectId

      public void setObjectId​(java.lang.String objectId)
      Remote object handle.