public interface URIContentProvider
Modifier and Type | Interface and Description |
---|---|
static interface |
URIContentProvider.Callback |
Modifier and Type | Method and Description |
---|---|
boolean |
addContent(java.lang.String requestTool,
android.os.Bundle extras,
URIContentProvider.Callback callback)
Request to add content from one tool to another
|
android.graphics.drawable.Drawable |
getIcon()
Get an icon that represents this tool
|
java.lang.String |
getName()
Get the tool name to be displayed to the user
|
boolean |
isSupported(java.lang.String requestTool)
Check if this content type can be added to the requested tool
|
java.lang.String getName()
android.graphics.drawable.Drawable getIcon()
boolean isSupported(java.lang.String requestTool)
boolean addContent(java.lang.String requestTool, android.os.Bundle extras, URIContentProvider.Callback callback)
requestTool
- Name of the tool requesting the contentextras
- Extra data specific to the request toolcallback
- Callback to fire if/when content is ready to be added
or has already been added