Start a new topic
iink SDK Web
I've tesing a restore message the document below described.
https://developer.myscript.com/docs/interactive-ink/1.4/web/websockets/messages/#restore-an-iink-session
Sent message:
{"type":"restore","applicationKey":"...","iinkSessionId":"...","xDpi":96,"yDpi":96,"viewSizeWidth":747,"viewSizeHeight":192}
I confirmed that iinkSessionId was set correctly via chrome developer console.But getting the error.
{"type":"error","message":"Json mapping error: ","code":"api.mapping.error"}
Does someone have any thought or example on this?
Dear Shinji Yamada San,
thank you for the update.
We will update the documentation accordingly.
Best regards,
Olivier
Hi, Oliver
Thank you for the response.It works perfectly!!
And, it would be good it is documented precisely.
thank you for contacting us.
Can you please try to replace the "restore" type by "restoreIInkSession"?
{"type":"restoreIInkSession","applicationKey":"...","iinkSessionId":"...","xDpi":96,"yDpi":96,"viewSizeWidth":747,"viewSizeHeight":192}
Let us know if this works.
shinji yamada
I've tesing a restore message the document below described.
https://developer.myscript.com/docs/interactive-ink/1.4/web/websockets/messages/#restore-an-iink-session
Sent message:
{"type":"restore",
"applicationKey":"...",
"iinkSessionId":"...",
"xDpi":96,"yDpi":96,
"viewSizeWidth":747,"viewSizeHeight":192
}
I confirmed that iinkSessionId was set correctly via chrome developer console.
But getting the error.
{"type":"error","message":"Json mapping error: ","code":"api.mapping.error"}
Does someone have any thought or example on this?
Dear Shinji Yamada San,
thank you for the update.
We will update the documentation accordingly.
Best regards,
Olivier
- Oldest First
- Popular
- Newest First
Sorted by Newest FirstOlivier @MyScript
Dear Shinji Yamada San,
thank you for the update.
We will update the documentation accordingly.
Best regards,
Olivier
shinji yamada
Hi, Oliver
Thank you for the response.
It works perfectly!!
And, it would be good it is documented precisely.
Olivier @MyScript
Dear Shinji Yamada San,
thank you for contacting us.
Can you please try to replace the "restore" type by "restoreIInkSession"?
{"type":"restoreIInkSession",
"applicationKey":"...",
"iinkSessionId":"...",
"xDpi":96,"yDpi":96,
"viewSizeWidth":747,"viewSizeHeight":192
}
Let us know if this works.
Best regards,
Olivier