Share.share

From GiderosMobile
Revision as of 15:30, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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

<syntaxhighlight lang="lua">

Share.share(mimeType,data)

</source>

Parameters

mimeType: (string) The MIME type of the data.
data: (string) The data itself.

Template:Share