Class PDPDataJNI

    • Constructor Detail

      • PDPDataJNI

        public PDPDataJNI()
    • Method Detail

      • registerInitializedCallback

        public static int registerInitializedCallback​(int index,
                                                      NotifyCallback callback,
                                                      boolean initialNotify)
      • cancelInitializedCallback

        public static void cancelInitializedCallback​(int index,
                                                     int uid)
      • getInitialized

        public static boolean getInitialized​(int index)
      • setInitialized

        public static void setInitialized​(int index,
                                          boolean initialized)
      • registerTemperatureCallback

        public static int registerTemperatureCallback​(int index,
                                                      NotifyCallback callback,
                                                      boolean initialNotify)
      • cancelTemperatureCallback

        public static void cancelTemperatureCallback​(int index,
                                                     int uid)
      • getTemperature

        public static double getTemperature​(int index)
      • setTemperature

        public static void setTemperature​(int index,
                                          double temperature)
      • registerVoltageCallback

        public static int registerVoltageCallback​(int index,
                                                  NotifyCallback callback,
                                                  boolean initialNotify)
      • cancelVoltageCallback

        public static void cancelVoltageCallback​(int index,
                                                 int uid)
      • getVoltage

        public static double getVoltage​(int index)
      • setVoltage

        public static void setVoltage​(int index,
                                      double voltage)
      • registerCurrentCallback

        public static int registerCurrentCallback​(int index,
                                                  int channel,
                                                  NotifyCallback callback,
                                                  boolean initialNotify)
      • cancelCurrentCallback

        public static void cancelCurrentCallback​(int index,
                                                 int channel,
                                                 int uid)
      • getCurrent

        public static double getCurrent​(int index,
                                        int channel)
      • setCurrent

        public static void setCurrent​(int index,
                                      int channel,
                                      double current)
      • resetData

        public static void resetData​(int index)