iink SDK on Device

Answered

time output value

Does the timestamp value in the test version?

{

  "type": "Math",

  "expressions": [ {

    "type": "group",

    "operands": [ {

      "type": "symbol",

      "label": "r",

      "bounding-box": {

       "x": 60.650208,

       "y": 137.60048,

       "width": 8.0187683,

       "height": 9.4363708

      },

      "range": "[0:0,0:75$]",

      "strokes": [ {

        "timestamp": "1970-01-08 23:17:15.286000", 

        "X": [ 63.000214, 62.887714, 62.550213, 62.415161, 62.212711, 61.87521, 61.841164, 61.762711,

         61.762711, 61.762711, 61.650208, 61.665707, 61.762711, 61.762711, 61.87521, 61.89246,

         61.987709, 62.133945, 62.212711, 62.325211, 62.550213, 62.700108, 62.775211, 63.112713,

         63.146408, 63.337715, 63.562714, 63.900215, 63.964211, 64.125214, 64.360191, 64.462715,

         64.687721, 64.709023, 64.800217, 65.025223, 65.137718, 65.137718, 65.137718, 65.216492,

         65.250221, 65.250221, 65.137718, 65.137718, 65.1377


Best Answer
Dear Poolemath,

thank you for contacting us.

Currently, the time information is used in case of gestures. Time information is therefore not mandatory (you can provide 0) if you do not need the gestures.

Regarding the coordinates, you can provide coordinates from any kind of device, such as touch screen, canvas, digital pen... our solution will recompute the coordinates to extract the information.

Best regards,

Olivier



Additional questions

arrays containing X, Y, T, and F values Device resolution is not.  What is the coordinate value based on?

Answer
Dear Poolemath,

thank you for contacting us.

Currently, the time information is used in case of gestures. Time information is therefore not mandatory (you can provide 0) if you do not need the gestures.

Regarding the coordinates, you can provide coordinates from any kind of device, such as touch screen, canvas, digital pen... our solution will recompute the coordinates to extract the information.

Best regards,

Olivier


Dear Olivier.

Thank you for reply.


In the reference 'A stroke is described as timestamp,..'

But extracts "timestamp": "1970-01-08 23:17:15.286000"

Do I have to set a default time setting?

Dear Poolemath,

Currently, the timestamp corresponds to the time gotten on your device.

If the date is properly set, you do not hasve to set anything.

Best regards,

Olivier