Class NfcNdefMobileDataHelper

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MESSAGE_LIST_KEY  
    • Constructor Summary

      Constructors 
      Constructor Description
      NfcNdefMobileDataHelper​(java.lang.String scriptName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.python.core.PyObject toPy​(com.inductiveautomation.ignition.common.gson.JsonElement dataObject)
      Converts the json element to the appropriate PyObject.
      • Methods inherited from class java.lang.Object

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

      • MESSAGE_LIST_KEY

        public static final java.lang.String MESSAGE_LIST_KEY
        See Also:
        Constant Field Values
    • Constructor Detail

      • NfcNdefMobileDataHelper

        public NfcNdefMobileDataHelper​(@Nonnull
                                       java.lang.String scriptName)
    • Method Detail

      • toPy

        @Nullable
        public org.python.core.PyObject toPy​(@Nullable
                                             com.inductiveautomation.ignition.common.gson.JsonElement dataObject)
        Description copied from class: MobileDataHelper
        Converts the json element to the appropriate PyObject. Override if any custom handling is required before creating the PyObject.
        Overrides:
        toPy in class MobileDataHelper
        Parameters:
        dataObject - the deserialized JsonObject representing the 'data' field of a single mobile device's data submission
        Returns:
        the appropriate PyObject (or subclass) for the type of data