ShareData Class
The data to share with navigator.share() (https://w3c.github.io/web-share/#sharedata-dictionary). A null member is not present.
public sealed class ShareDataConstructors
| Name | Description |
|---|---|
| ShareData() |
ShareData()
public ShareData()No documentation is available.
Properties
| Name | Description |
|---|---|
| Files | Gets the files to share. |
| Text | Gets the text to share. |
| Title | Gets the title of the shared content. |
| Url | Gets the URL to share, relative to the base URL of the document. |
Files
WebShare.csGets the files to share.
public IReadOnlyList<File>? Files { get; init; }Text
WebShare.csGets the text to share.
public string? Text { get; init; }Title
WebShare.csGets the title of the shared content.
public string? Title { get; init; }Url
WebShare.csGets the URL to share, relative to the base URL of the document.
public string? Url { get; init; }