ShareContent
What to hand the share sheet: an optional text, link and image.
- Kind: Class
- Namespace: SkeleKit
Properties
Image
The image to share, shown as the sheet's preview thumbnail.
Type: ImageSource?
Text
The text to share, which also titles the share sheet.
Type: string?
Url
The link to share, so the sheet offers its link-specific actions.
Type: Uri?
Operators
Implicit ShareContent(ImageSource)
Shares an image.
| Parameter | Summary |
|---|---|
ImageSource image | The image to share. |
Returns
ShareContent: Share content containing the image.
Implicit ShareContent(string)
Shares a string as plain text.
| Parameter | Summary |
|---|---|
string text | The text to share. |
Returns
ShareContent: Share content containing the text.
Implicit ShareContent(Uri)
Shares a web address as a link.
| Parameter | Summary |
|---|---|
Uri url | The address to share. |
Returns
ShareContent: Share content containing the link.