ssCore.Sentry.buildWhiteList

Populate the white list from the list of currently running applications. This function can't be called while the Sentry is enabled.


Availability:

First available in version 3.8 build 333.


Input Parameters:

None.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Sentry.buildWhiteList( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Sentry.buildWhiteList( paramsObject );


Notes:

None.


Examples:

// you MUST build an initial white list before you can use the white list
// this will be a list of all currently running applications
var r:Object = ssCore.Sentry.buildWhiteList({});
if (!r.success) ssDebug.trace("error building white list");

// tell Sentry to use the white list
ssCore.Sentry.useWhiteList({});

// enable the Sentry
ssCore.Sentry.enable({});