Your comments

Hello Arindam,


I understand you would like to control the character directly via the API - presumably you have implemented your own play/pause controls, and do not wish to display the built-in controls.


At present this is not possible. This request has not come up before.


Let me check what we can do to add this feature, I think we should be able to do so in short order.

Please write a note to support@sitepal.com - and make the request & mention my response.


That will enable us to keep a support ticket open - and ensure we get back to you.

Best,

Gil


Matt - can you confirm this now works for you?

Let me know if any problems.

Best,

Gil

Ahmed - 


Asking for credit card information in advance allows us to bill you in 15 days (unless you cancel). That is our standard model for setting up a 15 day free trial - and a common one.


That said - please send a note to support@sitepal.com - and ask for it to be forwarded to Gil, and I'll set you up with a 15 day free trial without entering your credit card.

Best,

Gil

SitePal offers a 15 day Free trial & a 30 day Money Back Guarantee on top of it.


Sign up on the SitePal site & get started.


Great.

If you can communicate between your native and JS code, then you can control the SitePal JS API.

the API documentation is on the support page.

First - please find out how to load a webview pane into your C# application.

There are numerous examples online. See for example - 

https://code.msdn.microsoft.com/HTML-WebView-control-sample-56e773fa


Another MS example explains how to interoperate between your native code and Javascript - 

https://code.msdn.microsoft.com/windowsapps/How-to-invoke-JS-at-Native-df3fd459


The above are just random examples I selected, not necessarily the best for your purpose - please look for the examples that work best for you.


Once you are able to load an (internet based) web page into your C# application, and communicate back and forth from the native app to a JS function in the web page, add your SitePal Scene to your web page (copy paste your Scene's embed code from your SitePal account).


Then update your code to invoke SitePal JS API functions in your page as needed.

Hope this helps,

Gil




Hello Ahmed - 


We recommend that application developers using native-code-compiled languages like C# load a 'webview' pane to display and control their character.


In this way it is possible for both desktop and mobile native apps to load and control SitePal characters via the JS API.


Hope this helps, best,

Gil



Thanks Kumar for clearing this up.

Sorry Matt for leading you astray - apparently I referenced the wrong document. 

To avoid confusion - I removed my previous response. 

Best,

Gil

The SitePal Team