DeviceClipboard

Wisej.Hybrid.DeviceClipboard

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

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

DeviceClipboard()

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

Properties

HasText

Booleanarrow-up-right: Gets a value indicating whether the device's clipboard contains text content.

Methods

GetText()

Retrieves text from the device's clipboard.

Returns: Stringarrow-up-right. The text content from the clipboard.

SetText(text)

Sets the provided text into the device's clipboard.

Parameter
Type
Description

text

The text to be copied to the clipboard.

Events

ContentChanged

EventHandlerarrow-up-right Occurs when the content in the device's clipboard changes.

Last updated