What is the getFilter() method?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is the getFilter() method?
Rating:
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.
Rating:
Was this information helpful?
Other articles
- What is the HttpsConnection interface?
- What is PushRegistry?
- What is the setTimeout() method?
- What is a JAR file?
- What is the addRecord() method?