Class internally used to pass data options into sharing functions.
|
| static ShareItem | Text (string text) |
| | Option used to share a text content.
|
| |
| static ShareItem | URL (URLString url) |
| | Option used to share a url.
|
| |
| static ShareItem | Image (Texture2D image, TextureEncodingFormat textureEncodingFormat, string fileName) |
| | Option used to share an image content.
|
| |
| static ShareItem | File (byte[] data, string mimeType, string fileName) |
| | Option used to share an file content (image).
|
| |
|
static ShareItem | Screenshot () |
| | Option used to a share screenshot.
|
| |
◆ Text()
◆ URL()
◆ Image()
- Parameters
-
| image | Image. |
| textureEncodingFormat | Texture encoding format. |
| fileName | File name. |
◆ File()
| static ShareItem File |
( |
byte[] | data, |
|
|
string | mimeType, |
|
|
string | fileName ) |
|
static |
- Parameters
-
| data | Image data. |
| mimeType | Mime type. |
| fileName | File name. |