sud.getClipboardData
JS
sud.getClipboardData(Object object)Get the contents of the system clipboard
Parameters
- Object object: Input parameters, see the properties in the table below
object properties:
| Property | Type | Required | Description |
|---|---|---|---|
| success | function | No | Callback function for a successful API call |
| fail | function | No | Callback function for a failed API call |
| complete | function | No | Callback function for API call completion |
Parameters of the success callback function
- Object res: Returns the system clipboard data
System clipboard data properties:
| Property | Type | Description |
|---|---|---|
| data | string | The contents of the clipboard |
