public interface MMSListener
MMSService.setListener(MMSListener)
method.Modifier and Type | Method and Description |
---|---|
MMSStatus |
handleDeliveryReport(MMSService service,
MMSDeliveryReport report)
Process an incomming Delivery Report.
|
MMSStatus |
handleIncommingMessage(MMSService service,
MMSMessage message)
Process an incomming multimedia message.
|
void |
handleNotification(MMSService service,
MMSNotification notification)
Process an incoming MMS notification.
|
MMSStatus |
handleReadReport(MMSService service,
MMSReadReport report)
Process an incomming Read Report.
|
MMSStatus handleIncommingMessage(MMSService service, MMSMessage message)
MMSStatus.SUCCESS
. If the message cannot
be processed or should be rejected, return one of the other MMSStatus constants.
If the implementation returns null or throws a runtime exception, this is
treated like returning MMSStatus.CLIENT_ERROR
.service
- The calling service.message
- The incoming message to processMMSStatus handleReadReport(MMSService service, MMSReadReport report)
MMSStatus.SUCCESS
. If the report cannot
be processed or should be rejected, return one of the other MMSStatus constants.
If the implementation returns null or throws a runtime exception, this is
treated like returning MMSStatus.CLIENT_ERROR
.service
- The calling service.report
- The incoming Read Report.MMSStatus handleDeliveryReport(MMSService service, MMSDeliveryReport report)
MMSStatus.SUCCESS
. If the report cannot
be processed or should be rejected, return one of the other MMSStatus constants.
If the implementation returns null or throws a runtime exception, this is
treated like returning MMSStatus.CLIENT_ERROR
.service
- The calling service.report
- The incoming Delivery Reportvoid handleNotification(MMSService service, MMSNotification notification)
MMSService.fetch(MMSNotification)
.service
- The calling service.notification
- the MMS notification.object XP, Inc. © 2000-2013. All rights reserved object XP