Structure of WmContext:
typedef struct WmContext {
JNIEnv *env;
jint type;
jobject ref;
jthrowable err;
jint errType;
char * errMsg;
} WmContext;
WmContext *con
- WmContext needs to be initialized.
JNIEnv *env
- JNI Environment when created.
jint type
- The type of jobject.