| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| private long | |
| private boolean | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final int | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private native long | |
| private native long | |
| private native long | |
| private native int | |
| private native byte[] | |
| private native String | |
| private native byte[] | |
| private native long | |
| private native String | |
| private native String | |
| private native long | |
| private native String[][] | |
| private native long | |
| private native void | |
| private void | |
| public long | |
| public int | Returns: allowed operationCheck pasteboard-operation allowed in the current pasteboard state. |
| public byte[] | getItemAsRawImage(int index)
Get the item representation for the given index as raw pixels bytes suitable for Pixels the platform will try to find the best representation |
| public String | getItemAsString(int index)
get the item representation for the given index as String the platform will try to find the best representation |
| public byte[] | getItemBytesForUTF(int index, String utf)
get the item representation for the given utf type as byte array |
| public long | getItemForUTF(int index, String utf)
get the item representation for the given utf type as native Objective-C object id the item retain count will increase by 1 requires client to drop into Obj-C to do anything useful with the item |
| public String | getItemStringForUTF(int index, String utf)
get the item representation for the given utf type as String |
| public String | |
| public long | |
| public long | |
| public String[][] | getUTFs()
Returns: an array of String arrays with multiple UTF types for each item on the Pasteboard (allows for non homogenous items) the length of the array is the count of available items |
| private Object[] | |
| public long | |
| public long | |
| public void |
| General | back to summary |
|---|---|
| public static final int General | |
| ObjectIndex | back to summary |
|---|---|
| public static final int ObjectIndex | |
| ptr | back to summary |
|---|---|
| private long ptr | |
| user | back to summary |
|---|---|
| private boolean user | |
| UtfColor | back to summary |
|---|---|
| public static final String UtfColor | |
| UtfFileUrl | back to summary |
|---|---|
| public static final String UtfFileUrl | |
| UtfFindPanelSearchOptions | back to summary |
|---|---|
| public static final String UtfFindPanelSearchOptions | |
| UtfFont | back to summary |
|---|---|
| public static final String UtfFont | |
| UtfHtml | back to summary |
|---|---|
| public static final String UtfHtml | |
| UtfIndex | back to summary |
|---|---|
| public static final int UtfIndex | |
| UtfMultipleTextSelection | back to summary |
|---|---|
| public static final String UtfMultipleTextSelection | |
| UtfPdf | back to summary |
|---|---|
| public static final String UtfPdf | |
| UtfPng | back to summary |
|---|---|
| public static final String UtfPng | |
| UtfRtf | back to summary |
|---|---|
| public static final String UtfRtf | |
| UtfRtfd | back to summary |
|---|---|
| public static final String UtfRtfd | |
| UtfSound | back to summary |
|---|---|
| public static final String UtfSound | |
| UtfString | back to summary |
|---|---|
| public static final String UtfString | |
| UtfTabularText | back to summary |
|---|---|
| public static final String UtfTabularText | |
| UtfTiff | back to summary |
|---|---|
| public static final String UtfTiff | |
| UtfUrl | back to summary |
|---|---|
| public static final String UtfUrl | |
| IosPasteboard | back to summary |
|---|---|
| public IosPasteboard(int type) Creates IosPasteboard wrapper object for UIPasteboard's generalPasteboard. | |
| IosPasteboard | back to summary |
|---|---|
| public IosPasteboard(String name) Creates custom IosPasteboard for given name. E.g. for drag and drop purpose we create user UIPasterboard with special name DND. See [UIPasteboard pasteboardWithName:create:] documentation. | |
| _clear | back to summary |
|---|---|
| private native long _clear(long ptr) | |
| _createSystemPasteboard | back to summary |
|---|---|
| private native long _createSystemPasteboard(int type) | |
| _createUserPasteboard | back to summary |
|---|---|
| private native long _createUserPasteboard(String name) | |
| _getAllowedOperation | back to summary |
|---|---|
| private native int _getAllowedOperation(long ptr) | |
| _getItemAsRawImage | back to summary |
|---|---|
| private native byte[] _getItemAsRawImage(long ptr, int index) | |
| _getItemAsString | back to summary |
|---|---|
| private native String _getItemAsString(long ptr, int index) | |
| _getItemBytesForUTF | back to summary |
|---|---|
| private native byte[] _getItemBytesForUTF(long ptr, int index, String utf) | |
| _getItemForUTF | back to summary |
|---|---|
| private native long _getItemForUTF(long ptr, int index, String utf) | |
| _getItemStringForUTF | back to summary |
|---|---|
| private native String _getItemStringForUTF(long ptr, int index, String utf) | |
| _getName | back to summary |
|---|---|
| private native String _getName(long ptr) | |
| _getSeed | back to summary |
|---|---|
| private native long _getSeed(long ptr) | |
| _getUTFs | back to summary |
|---|---|
| private native String[][] _getUTFs(long ptr) | |
| _putItemsFromArray | back to summary |
|---|---|
| private native long _putItemsFromArray(long ptr, Object[] items, int supportedActions) | |
| _release | back to summary |
|---|---|
| private native void _release(long ptr) | |
| assertValid | back to summary |
|---|---|
| private void assertValid() | |
| clear | back to summary |
|---|---|
| public long clear() clears pasteboard
| |
| getAllowedOperation | back to summary |
|---|---|
| public int getAllowedOperation() Check pasteboard-operation allowed in the current pasteboard state.
| |
| getItemAsRawImage | back to summary |
|---|---|
| public byte[] getItemAsRawImage(int index) Get the item representation for the given index as raw pixels bytes suitable for Pixels the platform will try to find the best representation | |
| getItemAsString | back to summary |
|---|---|
| public String getItemAsString(int index) get the item representation for the given index as String the platform will try to find the best representation | |
| getItemBytesForUTF | back to summary |
|---|---|
| public byte[] getItemBytesForUTF(int index, String utf) get the item representation for the given utf type as byte array | |
| getItemForUTF | back to summary |
|---|---|
| public long getItemForUTF(int index, String utf) get the item representation for the given utf type as native Objective-C object id the item retain count will increase by 1 requires client to drop into Obj-C to do anything useful with the item | |
| getItemStringForUTF | back to summary |
|---|---|
| public String getItemStringForUTF(int index, String utf) get the item representation for the given utf type as String | |
| getName | back to summary |
|---|---|
| public String getName() Native pasteboard name getter;
| |
| getNativePasteboard | back to summary |
|---|---|
| public long getNativePasteboard() Returns native pasteboard pointer (UIPasteboard*) | |
| getSeed | back to summary |
|---|---|
| public long getSeed() retrieve pasteboard seed | |
| getUTFs | back to summary |
|---|---|
public String[][] getUTFs()
| |
| hashMapToArray | back to summary |
|---|---|
| private Object[] hashMapToArray(HashMap<K, V> hashmap) | |
| putItems | back to summary |
|---|---|
| public long putItems(HashMap<String, Object>[] items, int supportedActions) | |
| putItemsFromArray | back to summary |
|---|---|
| public long putItemsFromArray(Object[] items, int supportedActions) | |
| release | back to summary |
|---|---|
| public void release() Release native pasteboard instance. | |