Clipboard methods, browser sessions serve 0, phone sessions 0 and computer sessions 2. A method marked not served answers StrategyUnavailable on that kind of session; check the handshake’s capabilities before relying on one.
Clipboard.readText
Browser: not served
Phone: not served
Computer: served
The clipboard’s text; empty when it holds none. Computer sessions only.
| Param | Type | Required | Description |
|---|---|---|---|
idempotencyKey | string | No | Makes a re-send after a reconnect safe: a repeated key returns the recorded response without acting again. See Idempotency keys. |
| Field | Type | Description |
|---|---|---|
text | string |
Clipboard.writeText
Browser: not served
Phone: not served
Computer: served
Replace the clipboard’s text. Computer sessions only.
| Param | Type | Required | Description |
|---|---|---|---|
text | string | Yes | |
idempotencyKey | string | No | Makes a re-send after a reconnect safe: a repeated key returns the recorded response without acting again. See Idempotency keys. |
{}.