Difference between revisions of "Application:canOpenUrl"
From GiderosMobile
Line 4: | Line 4: | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/> | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate>Tests if it is possible to open provided url using [[Special:MyLanguage/Application:openUrl|Application:openUrl]] method</translate> | + | <translate>Tests if it is possible to open provided url using [[Special:MyLanguage/Application:openUrl|Application:openUrl]] method (it checks only app permissions, so 'true' may be returned even if device is offline)</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Application:canOpenUrl(url) | Application:canOpenUrl(url) |
Revision as of 21:09, 23 November 2018
Available since: Gideros 2013.06
Class: Application
Description
Tests if it is possible to open provided url using Application:openUrl method (it checks only app permissions, so 'true' may be returned even if device is offline)
Application:canOpenUrl(url)
Parameters
url: (string) url to test if can be opened