Class CallbackParams

java.lang.Object
provided.owlMaps.cefUtils.impl.CallbackParams

class CallbackParams
extends java.lang.Object
Carrier object for the parameters from the JavaScript side back to the Java side with which to invoke an associated callback function. Must have no param constructor for gson to use it
Author:
swong
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.lang.String callbackId
    The ID of the callback function
    private java.lang.Object[] params
    The parameters to be given to the callback function
  • Constructor Summary

    Constructors
    Constructor Description
    CallbackParams()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getCallbackId()
    Accessor for the callback function's ID
    java.lang.Object[] getParams()
    Accessor for the parameters for the associated callback

    Methods inherited from class java.lang.Object

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

    • callbackId

      private java.lang.String callbackId
      The ID of the callback function
    • params

      private java.lang.Object[] params
      The parameters to be given to the callback function
  • Constructor Details

    • CallbackParams

      CallbackParams()
  • Method Details

    • getCallbackId

      public java.lang.String getCallbackId()
      Accessor for the callback function's ID
      Returns:
      The ID of the associated callback
    • getParams

      public java.lang.Object[] getParams()
      Accessor for the parameters for the associated callback
      Returns:
      An array of parameters with which to call the callback function