Please see this question: Message related event handling in blackberry 10
This question is currently on hold.
However, an edit was made to it which put it into the Reopen queue. This edit was made by another user, posting the answer into the question, specifically because the question was closed so he couldn't post the answer the normal way.
I suspect the question will be reopened, but what to do about the answer that's been posted into the question? Can that be moved into a proper answer by a mod?