Difference between revisions of "Event.MEDIA CANCEL"

From GiderosMobile
(new page)
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
'''Available since:''' Gideros 2016.1<br/>
 +
'''Value:''' complete<br/>
 +
'''Defined by:''' [[Media]]<br/>
  
<languages />
+
=== Description ===
 
 
'''<translate>Available since</translate>:''' Gideros 2014.8<br/>
 
 
 
'''<translate>Value</translate>:''' complete<br/>
 
 
 
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/AlertDialog|Media]]<br/>
 
 
 
=== <translate>Description</translate> ===
 
 
 
<translate>
 
 
This event is dispatched when a media selection is cancelled by user.
 
This event is dispatched when a media selection is cancelled by user.
</translate>
 
  
=== <translate>Example</translate> ===
+
=== Example ===
 
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
--user cancelled selecting image
 
--user cancelled selecting image
 
mediamanager:addEventListener(Event.MEDIA_CANCEL, function()
 
mediamanager:addEventListener(Event.MEDIA_CANCEL, function()
 
print("User cancelled media input")
 
print("User cancelled media input")
 
end)
 
end)
</source>
+
</syntaxhighlight>
 
 
=== <translate>Parameters</translate> ===
 
  
<br/>
+
{{Media}}
<br/>
 

Latest revision as of 14:27, 13 July 2023