Application:canOpenUrl: Difference between revisions

From GiderosMobile
→Description: changing Application to application
prefixindex
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
'''Available since:''' Gideros 2013.06
'''<translate>Available since</translate>:''' Gideros 2013.06
<br/>
<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]
'''Class:''' [[Special:MyLanguage/Application|Application]]
<br/>
<br/>


=== <translate>Description</translate> ===
=== Description ===
<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>
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)
<source lang="lua">
<source lang="lua">
application:canOpenUrl(url)
application:canOpenUrl(url)
</source>
</source>


=== <translate>Parameters</translate> ===
=== Parameters ===
'''url''': (string) <translate>url to test if can be opened</translate>
'''url''': (string) url to test if can be opened
 
----
{{Special:PrefixIndex/Application}}
<br/>
<br/>
{{Special:PrefixIndex/Event.APPLICATION}}

Revision as of 10:29, 2 December 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