Class BrowserClipboard
An interface for clipboard features.
Inherited Members
Namespace: Unity.Cloud.Common.Runtime
Syntax
public class BrowserClipboard : IClipboard
Remarks
This clipboard implementation is specifically intended for use in WebGL.
Methods
CopyText(String)
Copy a string value to the operating system clipboard.
Declaration
public bool CopyText(string textContent)
Parameters
| Type | Name | Description |
|---|---|---|
| String | textContent |
Returns
| Type | Description |
|---|---|
| Boolean | True if operation was allowed, false otherwise. |