Titanium.UI.Clipboard.setData

Function of Titanium.UI.Clipboard.
Platform Since
Android 1.5
iPhone 1.5
iPad 1.5
Mobile Web 1.8

Summary

Set the data on the clipboard given a mime-type and the new data. This method will set data on the appropriate portion of the clipboard for the given mime-type.

Arguments

Name Type Summary
type String

The mime-type of the data to set.

data Object

The new clipboard text.

Return Type

void