WebShare
Wisej.Ext.WebShare.WebShare
Last updated
Wisej.Ext.WebShare.WebShare
Last updated
Namespace: Wisej.Ext.WebShare
Assembly: Wisej.Ext.WebShare (3.2.0.0)
Provides methods for sharing text, links, files, and other content to an arbitrary share target selected by the user.
Can only be used from https or localhost. See: Web Share API.
Returns whether the browser is capable of performing a share operation.
Returns: Task<Object>.
The CanShareAsync method of the Web Share API returns true if the equivalent call to ShareAsync would succeed.
url
A string representing a URL to be shared.
text
A string representing text to be shared.
title
A string representing the title to be shared.
fileStreams
An array of files representing files to be shared.
Returns: Task<Object>. The result from the client.
The ShareAsync method of the Web Share API invokes the native sharing mechanism of the device to share data such as text, URLs, or files.
url
A string representing a URL to be shared.
text
A string representing text to be shared.
title
A string representing the title to be shared.
fileStreams
An array of files representing files to be shared.
Returns: Task<Object>. The result from the client.