Home »
MCQs »
PhoneGap MCQs
Which of the following method returns the current connection's type?
22. Which of the following method returns the current connection's type?
- navigator.connection.type
- connection.type
- PhoneGap.connection.type
Answer: A) navigator.connection.type
Explanation:
navigator.connection.type function returns the current connection's type.