Skip to main content

DeviceClipboard

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid

Provides a convenient interface for interacting with the device's clipboard, allowing you to access and manipulate text content.

public class DeviceClipboard

Access this class through the Device singleton.

Constructors​

Instance memberDeviceClipboard()​

Initializes a new instance of the DeviceClipboard class and sets up clipboard event handling.

Properties​

Instance memberHasText​

Boolean: Gets a value indicating whether the device's clipboard contains text content.

Methods​

Instance memberGetText()​

Retrieves text from the device's clipboard.

Returns: String. The text content from the clipboard.

Instance memberSetText(text)​

Sets the provided text into the device's clipboard.

ParameterTypeDescription
textStringThe text to be copied to the clipboard.

Events​

Instance memberContentChanged​

EventHandler Occurs when the content in the device's clipboard changes.