设置剪贴板内容 (device.set_clipboard)

声明

是否成功 = device.set_clipboard(文本内容)

参数及返回值

  • 文本内容
    • 将手机剪贴板设置为指定的文本

说明

本函数只支持设置文字内容

示例

local success = device.set_clipboard('ATP很不错') 
if success then
    print('设置剪贴板成功')
else
    print('设置剪贴板失败')
end
powered by GitbookFile Modify: 2021-03-27 23:14:19

results matching ""

    No results matching ""