DeviceSharing

Wisej.Hybrid.DeviceSharing

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

Provides methods for sharing data on the client device, including text, URIs, and files.

public class DeviceSharing

Access this class through the Device singleton.

Constructors

DeviceSharing()

Initializes a new instance of DeviceSharing.

Methods

ShareFiles(title, files)

Shares files on the client device.

Parameter
Type
Description

title

The title or subject of the shared content.

files

A dictionary of files to be shared, where the key is the file name and the value is a stream containing the file data.

ShareText(title, text)

Shares text on the client device.

Parameter
Type
Description

title

The title or subject of the shared content.

text

The text to be shared.

ShareUri(title, uri)

Shares a URI (Uniform Resource Identifier) on the client device.

Parameter
Type
Description

title

The title or subject of the shared content.

uri

The URI to be shared.

Last updated