Difference between revisions of "Share"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Share a text or an image with other apps on iOS/Android.
 
Share a text or an image with other apps on iOS/Android.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Share=require "Share"
 
Share=require "Share"
  
 
Share.share("text/plain","Hello World!")
 
Share.share("text/plain","Hello World!")
</source>
+
</syntaxhighlight>
  
  

Latest revision as of 15:32, 13 July 2023

Supported platforms: Platform android.pngPlatform ios.png
Available since: 2020.7

Description

Share a text or an image with other apps on iOS/Android.

Share=require "Share"

Share.share("text/plain","Hello World!")


Methods

Share.share share some data

Events

Constants