function setContext (client-side)
Available since version: 0.2.1
This function is used to set script context. For more information see this article.
Declaration
void setContext(int type, int value)
Parameters
inttype: the type of modified context. For more information see Context.intvalue: the new value written into context.