更新时间:2026-04-10 GMT+08:00
剪切板同步
方法名称
player.paste(text)
功能描述
将文本发送至云机剪切板。
参数说明
| 字段名 | 类型 | 是否必选 | 说明 |
|---|---|---|---|
| text | string | 是 | 剪贴板内容 |
返回值
无
调用示例
// 剪切板同步
player.paste('this is clipboard text'); 父主题: 消息发送接口
检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
player.paste(text)
将文本发送至云机剪切板。
| 字段名 | 类型 | 是否必选 | 说明 |
|---|---|---|---|
| text | string | 是 | 剪贴板内容 |
无
// 剪切板同步
player.paste('this is clipboard text');