The notifyIncomingMessage() method is a method of the MessageListener interface. This method is called whenever a message arrives at a MessageConnection object. The general syntax of this method is as follows:
Here, m is the instance of the MessageConnection interface where the message arrives.
Download free practice test for scmad SCMAD exam. Become SUN SCMAD Mobile Application Developer certified.