Difference between revisions of "Share"
From GiderosMobile
(Created page with "__NOTOC__ <!-- GIDEROSOBJ:Share --> '''<translate>Supported platforms</translate>:''' File:Platform android.pngFile:Platform ios.png<br/> '''<translate>Available since...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(2 intermediate revisions 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. | ||
− | < | + | <syntaxhighlight lang="lua"> |
Share=require "Share" | Share=require "Share" | ||
Share.share("text/plain","Hello World!") | Share.share("text/plain","Hello World!") | ||
− | </ | + | </syntaxhighlight> |
Line 16: | Line 16: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
− | [[Special:MyLanguage/Share.share]] ''<translate>share some data</translate>''<br/><!-- GIDEROSMTD:Share.share(mimeType,data) shares data --> | + | [[Special:MyLanguage/Share.share|Share.share]] ''<translate>share some data</translate>''<br/><!-- GIDEROSMTD:Share.share(mimeType,data) shares data --> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| |
Latest revision as of 14:32, 13 July 2023
Supported platforms:
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!")
MethodsShare.share share some data |
EventsConstants |