Difference between revisions of "Share.share"
From GiderosMobile
| m (Text replacement - "<source" to "<syntaxhighlight") | m (Text replacement - "</source>" to "</syntaxhighlight>") | ||
| Line 13: | Line 13: | ||
| <syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
|   Share.share(mimeType,data) |   Share.share(mimeType,data) | ||
| − | </ | + | </syntaxhighlight> | 
| === <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
Revision as of 14:32, 13 July 2023
Available since: Gideros 2020.7
Class: Share
Description
Share a piece of data with an external app. This invokes the platform default sharing dialog, allowing to save, print, send, share, etc. 
Supported MIME types:
- text/*
- image/png
- image/jpeg
 Share.share(mimeType,data)
Parameters
mimeType: (string) The MIME type of the data.  
data: (string) The data itself.  
