Difference between revisions of "Application:canOpenUrl"

From GiderosMobile
(→‎Description: changing Application to application)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
<languages />
 
<languages />
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2013.06
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]<br/>
+
<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 (it checks only app permissions, so 'true' may be returned even if device is offline)</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)
 
</source>
 
</source>
 +
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
'''url''': (string) <translate>url to test if can be opened</translate> <br/>
+
'''url''': (string) <translate>url to test if can be opened</translate>
 +
<br/>

Revision as of 17:11, 31 May 2019


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