public static interface URIContentRecipient.Sender
URIContentSender
that supports an alternative workflow:
1) User selects the sender they want to use
2) User selects the recipients from that sender
3) The sender notifies the URIContentRecipient.Callback
that recipients have been selected
4) After some additional work, the URIContentRecipient.Callback
notifies the
sender that content is ready to sendModifier and Type | Method and Description |
---|---|
void |
selectRecipients(java.lang.String contentURI,
URIContentRecipient.Callback callback)
Select recipients from the sender
|
boolean |
sendContent(java.lang.String contentURI,
java.util.List<? extends URIContentRecipient> recipients,
URIContentSender.Callback callback)
Request to sent content using this sender
|
void selectRecipients(java.lang.String contentURI, URIContentRecipient.Callback callback)
contentURI
- Content URIcallback
- Callback to fire when recipients have been selectedboolean sendContent(java.lang.String contentURI, java.util.List<? extends URIContentRecipient> recipients, URIContentSender.Callback callback)
contentURI
- Content URIrecipients
- List of recipients to send to, provided by
#selectRecipients(String, Callback)
.
May be null (assumes empty; will prompt later).callback
- Callback to fire when content has been sent