public class TAKServerSender extends MissionPackageSender implements URIContentRecipient.Sender
URIContentSender.Callback
_context, _mapView
Constructor and Description |
---|
TAKServerSender(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 contentURI)
Check if this content can be sent with this method based on its URI
|
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)
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 manifest,
MissionPackageBaseTask.Callback mpCallback,
URIContentSender.Callback cb)
Send a Mission Package (no pre-selected recipients)
|
sendContent
public TAKServerSender(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 contentURI)
URIContentSender
isSupported
in interface URIContentSender
isSupported
in class MissionPackageSender
public void selectRecipients(java.lang.String contentURI, URIContentRecipient.Callback callback)
URIContentRecipient.Sender
selectRecipients
in interface URIContentRecipient.Sender
contentURI
- Content URIcallback
- Callback to fire when recipients have been selectedpublic boolean sendContent(java.lang.String contentURI, 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
contentURI
- 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 manifest, MissionPackageBaseTask.Callback mpCallback, URIContentSender.Callback cb)
MissionPackageSender
sendMissionPackage
in class MissionPackageSender
manifest
- Mission Package manifestmpCallback
- Mission Package task callbackcb
- Send callback