public class TAKContactSender extends MissionPackageSender implements URIContentRecipient.Sender
URIContentSender.Callback
_context, _mapView
Constructor and Description |
---|
TAKContactSender(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
android.graphics.drawable.Drawable |
getIcon()
Get an icon that represents this send method
|
java.lang.String |
getName()
Get the send method name to be displayed to the user
|
boolean |
isSupported(java.lang.String uri)
Check if this content can be sent with this method based on its URI
|
void |
selectRecipients(java.lang.String uri,
URIContentRecipient.Callback callback)
Select recipients from the sender
|
boolean |
sendContent(java.lang.String uri,
java.util.List<? extends URIContentRecipient> recipients,
URIContentSender.Callback callback)
Default implementation for
URIContentRecipient.Sender#selectRecipients(String, URIContentRecipient.Callback) |
boolean |
sendMissionPackage(MissionPackageManifest mpm,
java.util.List<? extends URIContentRecipient> recipients,
MissionPackageBaseTask.Callback mpCallback,
URIContentSender.Callback cb)
Send a Mission Package to pre-selected recipients
|
boolean |
sendMissionPackage(MissionPackageManifest mpm,
MissionPackageBaseTask.Callback mpCallback,
URIContentSender.Callback cb)
Send a Mission Package (no pre-selected recipients)
|
sendContent
public TAKContactSender(MapView mapView)
public java.lang.String getName()
URIContentSender
getName
in interface URIContentSender
public android.graphics.drawable.Drawable getIcon()
URIContentSender
getIcon
in interface URIContentSender
public boolean isSupported(java.lang.String uri)
URIContentSender
isSupported
in interface URIContentSender
isSupported
in class MissionPackageSender
public void selectRecipients(java.lang.String uri, URIContentRecipient.Callback callback)
URIContentRecipient.Sender
selectRecipients
in interface URIContentRecipient.Sender
uri
- Content URIcallback
- Callback to fire when recipients have been selectedpublic boolean sendContent(java.lang.String uri, java.util.List<? extends URIContentRecipient> recipients, URIContentSender.Callback callback)
MissionPackageSender
URIContentRecipient.Sender#selectRecipients(String, URIContentRecipient.Callback)
sendContent
in interface URIContentRecipient.Sender
sendContent
in class MissionPackageSender
uri
- Content URIrecipients
- List of recipientscallback
- Send callbackpublic boolean sendMissionPackage(MissionPackageManifest mpm, java.util.List<? extends URIContentRecipient> recipients, MissionPackageBaseTask.Callback mpCallback, URIContentSender.Callback cb)
MissionPackageSender
sendMissionPackage
in class MissionPackageSender
mpm
- Mission Package manifestrecipients
- List of recipients to send tompCallback
- Mission Package task callbackcb
- Send callbackpublic boolean sendMissionPackage(MissionPackageManifest mpm, MissionPackageBaseTask.Callback mpCallback, URIContentSender.Callback cb)
MissionPackageSender
sendMissionPackage
in class MissionPackageSender
mpm
- Mission Package manifestmpCallback
- Mission Package task callbackcb
- Send callback