Difference between revisions of "Event.MEDIA CANCEL"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
  
 
=== Example ===
 
=== Example ===
<source lang="lua">
+
<syntaxhighlight 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>
  
 
{{Media}}
 
{{Media}}

Latest revision as of 14:27, 13 July 2023