public interface UITextPasteItem
| Modifier and Type | Method and Description |
|---|---|
NSDictionary<java.lang.String,?> |
defaultAttributes()
These will be the default attributes that will
be applied to plain strings when they are provided.
|
NSItemProvider |
itemProvider()
This is the NSItemProvider for the item being pasted or dropped.
|
java.lang.Object |
localObject()
This is nil for normal pastes, but might be filled with the
UIDragItem's localObject for pastes from drops.
|
void |
setAttachmentResult(NSTextAttachment textAttachment)
provide an attachment result from this NSItemProvider's data
|
void |
setAttributedStringResult(NSAttributedString string)
provide an attributed representation result from this NSItemProvider's data
|
void |
setDefaultResult()
Use this to indicate that want the default transformation to happen.
|
void |
setNoResult()
Use this to indicate that you don't want the data of this NSItemProvider
included in the resulting string.
|
void |
setStringResult(java.lang.String string)
provide a plain string representation result from this NSItemProvider's data
|
NSDictionary<java.lang.String,?> defaultAttributes()
NSItemProvider itemProvider()
java.lang.Object localObject()
void setAttachmentResult(NSTextAttachment textAttachment)
void setAttributedStringResult(NSAttributedString string)
void setDefaultResult()
void setNoResult()
void setStringResult(java.lang.String string)