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.
Click here to get free scmad SCMAD exam practice questions. Pass SCMAD Mobile Application Developer in first attampt.