getLearningContext
getLearningContext()
The getLearningContext method return the constant that tells us whether or not this is a contact, accept or reject scenario.
*
1-LOG_AS_CONTACT
*
2-LOG_AS_ACCEPT
*
3-LOG_AS_REJECT
4 and 5 are reserved for future use.
Return value
The getLearningContext method returns an integer.