|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.fastagi.command.AGICommand
net.sf.asterisk.fastagi.command.SendImageCommand
public class SendImageCommand
Sends the given image on a channel.
Most channels do not support the transmission of images.
Returns 0 if image is sent, or if the channel does not support image
transmission. Returns -1 only on error/hangup.
Image names should not include extensions.
| Constructor Summary | |
|---|---|
SendImageCommand(java.lang.String image)
Creates a new SendImageCommand. |
|
| Method Summary | |
|---|---|
java.lang.String |
buildCommand()
Returns a string suitable to be sent to asterisk. |
java.lang.String |
getImage()
Returns the image to send. |
void |
setImage(java.lang.String image)
Sets the image to send. |
| Methods inherited from class net.sf.asterisk.fastagi.command.AGICommand |
|---|
escapeAndQuote, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SendImageCommand(java.lang.String image)
image - the image to send, should not include extension.| Method Detail |
|---|
public java.lang.String getImage()
public void setImage(java.lang.String image)
image - the image to send, should not include extension.public java.lang.String buildCommand()
AGICommand
buildCommand in class AGICommand
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||