Kioware JavaScript Functions

In this article, we will see, what are Kioware Functions? How we can use it?

What is Kioware?

  • Kioware is software to run your site in Kioware Browser.
  • Kioware supports debugging on any Browser. Like Chrome.
  • We can execute the code of custom javascript/jquery in Kioware Browser.

What are Kioware Functions?

Kioware function is used to customize your page.

  • for example, you can use Kioware session void function to check Kioware browser session is active or not.

Example

bool IsSessionActive ()

  • This function is used to check your Kioware browser session is active or not.
if(!KioApp.IsSessionActive())
{
    KioApp.BeginSession();
}

void BeginSession ()

  • This function is used to create sessions.
if(!KioApp.IsSessionActive())
{
    KioApp.BeginSession();
}

void EndSession ()

  • This function is used to end your session.
setTimeout( function(){
    KioApp.EndSession();
}, 2000);

string GetUrl()

  • This function is used to get the current page URL.
var url= KioFrame.GetUrl();
KioBrowser.MessageBox(url);

string DoUrlSubstitution()

  • This function is used to get Kioware name.
var kName = KioApp.DoUrlSubstitution("$$KIO_KIOSKNAME$$");
KioBrowser.MessageBox(kName);
  • Also, we can use try and catch.
try {
 //your code
}
catch (ex) {
    KioBrowser.MessageBox(ex);
}

Please give your valuable feedback and if you have any questions or issues about this article, please let me know.
Thank you.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe

Select Categories