The types of context masks.
#include <screen/screen.h>
enumĀ {
SCREEN_APPLICATION_CONTEXT = 0
};
BlackBerry 10.0.0
Applications can't modify windows that were created by other applications and can't send events outside their process space. Application contexts aren't aware of other top-level windows in the system; neither are they allowed to operate on them. Application contexts are allowed to parent other windows, even if they are created in other contexts in other processes, and are allowed to control those windows. Application contexts that have read/write access to /dev/screen/.inject can inject Screen events.
These bits are intended to be combined in a single integer representing combinations of desired privileges to be applied to a context.