public abstract class MissionPackageSender extends java.lang.Object implements URIContentSender
URIContentSender.Callback
Modifier and Type | Field and Description |
---|---|
protected android.content.Context |
_context |
protected MapView |
_mapView |
Modifier | Constructor and Description |
---|---|
protected |
MissionPackageSender(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSupported(java.lang.String contentURI)
Check if this content can be sent with this method based on its URI
|
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 |
sendContent(java.lang.String contentURI,
URIContentSender.Callback callback)
Request to sent content using this method
|
boolean |
sendMissionPackage(MissionPackageManifest manifest,
java.util.List<? extends URIContentRecipient> recipients,
MissionPackageBaseTask.Callback mpCallback,
URIContentSender.Callback cb)
Send a Mission Package to pre-selected recipients
|
abstract boolean |
sendMissionPackage(MissionPackageManifest manifest,
MissionPackageBaseTask.Callback mpCallback,
URIContentSender.Callback cb)
Send a Mission Package (no pre-selected recipients)
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIcon, getName
protected final MapView _mapView
protected final android.content.Context _context
protected MissionPackageSender(MapView mapView)
public boolean isSupported(java.lang.String contentURI)
URIContentSender
isSupported
in interface URIContentSender
public boolean sendContent(java.lang.String contentURI, URIContentSender.Callback callback)
URIContentSender
sendContent
in interface URIContentSender
contentURI
- Content URIcallback
- Callback to fire when content has been sentpublic boolean sendContent(java.lang.String contentURI, java.util.List<? extends URIContentRecipient> recipients, URIContentSender.Callback callback)
URIContentRecipient.Sender#selectRecipients(String, URIContentRecipient.Callback)
contentURI
- Content URIrecipients
- List of recipientscallback
- Send callbackpublic boolean sendMissionPackage(MissionPackageManifest manifest, java.util.List<? extends URIContentRecipient> recipients, MissionPackageBaseTask.Callback mpCallback, URIContentSender.Callback cb)
manifest
- Mission Package manifestrecipients
- List of recipients to send tompCallback
- Mission Package task callbackcb
- Send callbackpublic abstract boolean sendMissionPackage(MissionPackageManifest manifest, MissionPackageBaseTask.Callback mpCallback, URIContentSender.Callback cb)
manifest
- Mission Package manifestmpCallback
- Mission Package task callbackcb
- Send callback