The getFilter() method is a method of the PushRegistry class. It is used to extract the registered filter for a specified push connection. The general syntax of this method is as follows:
Here, the Connection parameter is the string specifying connection protocol, host, and port number.
This method returns either a URL string indicating which senders are allowed to cause the MIDlet to be launched or null indicating that the push connection was not registered by the current MIDlet suite.
Best exam simulation SUN scmad download free trial. Become SUN SCMAD Mobile Application Developer certified.