Note that JavaScript is a dynamically typed language so incorrect argument types to a method call will not cause an error to be raised until runtime when the method call happens. In this documentation, the types are annotated after arguments using a colon. The return types of methods are annotated with a colon after the argument list and functions that do not return data list a return type of Void.

Datatypes that do not begin with "decoder." are basic types provided by JavaScript; detailed documentation regarding them can be found here.

decoder namespace reference

All of the Script Decoder API methods, types and functions that can be publicly used live within the decoder namespace.

Functions

decoder.log(arguments) : Void

decoder.log takes multiple arguments and echos them all to the VMX-Capture logs as a string with spaces joining the arguments. The logs are only printed if debug mode is enabled for VMX-Capture.

decoder.log("size:", 1) // logs "size: 1" to the TipOff system logs when debug mode is enabled