Skip to content

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

  • int type: the type of modified context.
  • int value: the new value written into context.