|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.skype.Call
public final class Call
This class implements all features of the SKYPE CALL protocol.
Nested Class Summary | |
---|---|
static class |
Call.DTMF
Enumeration of DTMF types. |
static class |
Call.Status
Enumeration of call status types. |
static class |
Call.Type
Enumeration of CALL types. |
static class |
Call.VideoStatus
Enumeration of video status types. |
Method Summary | |
---|---|
void |
addCallStatusChangedListener(CallStatusChangedListener listener)
Add a listener for the Status field. |
void |
answer()
Answer a ringing CALL. |
void |
cancel()
Cancel a CALL. |
boolean |
canTransferTo(String skypeId)
|
void |
clearFileCaptureMic()
|
void |
clearFileInput()
|
void |
clearFileOutput()
|
void |
clearPortCaptureMic()
|
void |
clearPortInput()
|
void |
clearPortOutput()
|
boolean |
equals(Object compared)
Implement a equals check method. |
void |
finish()
End a CALL. |
void |
forward()
Forward a ringing CALL to profile forwarding rule. |
String |
getConferenceId()
Return the conference ID of this CALL. |
Object |
getData(String name)
Returns the user data to which this object maps to the specified by the name. |
int |
getDuration()
Return the duration of this CALL. |
int |
getErrorCode()
Return the reason of failure. |
String |
getId()
Return the ID of the CALL object. |
String |
getParticipantsCount()
|
User |
getPartner()
Return the Skype user who is the partner in this CALL. |
String |
getPartnerDisplayName()
Return the DISPLAYNAME of the other user in this CALL. |
String |
getPartnerId()
Return the Skype handle of the other user in this CALL. |
Call.VideoStatus |
getReceiveVideoStatus()
Return the status of receiving video with this CALL. |
Call.VideoStatus |
getSendVideoStatus()
Return the status of sending video with this CALL. |
Date |
getStartTime()
Get the starttime of this CALL object. |
Call.Status |
getStatus()
Return the current status of this CALL. |
Call.Type |
getType()
Return the type of this call. |
int |
hashCode()
Use the CALL ID as the hashcode. |
void |
hold()
Put this CALL on hold. |
boolean |
isReceiveVideoEnabled()
Check if video receiving is enabled for this CALL. |
boolean |
isSendVideoEnabled()
Check if video sending is enabled for this CALL. |
void |
redirectToVoiceMail()
Redirect a ringing CALL to a voice mail. |
void |
removeCallStatusChangedListener(CallStatusChangedListener listener)
Remove a listener to the status of this CALL object. |
void |
resume()
Resume an on hold CALL. |
void |
send(Call.DTMF command)
Send a DTMF command. |
void |
setData(String name,
Object userData)
Associates the specified user data with the specified name in this object. |
void |
setFileCaptureMic(File file)
|
void |
setFileInput(File file)
|
void |
setFileOutput(File file)
|
void |
setPortCaptureMic(int port)
|
void |
setPortInput(int port)
|
void |
setPortOutput(int port)
|
void |
setReceiveVideoEnabled(boolean videoStatus)
Start or stop receiving video on this call. |
void |
setSendVideoEnabled(boolean videoStatus)
Start or stop sending video with this call. |
void |
transferTo(String... skypeIds)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public boolean equals(Object compared)
equals
in class Object
compared
- the object to compare to.
public String getId()
public void addCallStatusChangedListener(CallStatusChangedListener listener)
listener
- the listener to add.public void removeCallStatusChangedListener(CallStatusChangedListener listener)
listener
- the listener to remove.public void hold() throws SkypeException
SkypeException
- when connection is bad.public void resume() throws SkypeException
SkypeException
- when connection is bad.public void finish() throws SkypeException
SkypeException
- when connection is bad.public void answer() throws SkypeException
SkypeException
- when connection is bad.public void cancel() throws SkypeException
SkypeException
- when connection is bad.public void forward() throws SkypeException
SkypeException
- when connection is bad.public void redirectToVoiceMail() throws SkypeException
SkypeException
- when connection is bad.public void send(Call.DTMF command) throws SkypeException
SkypeException
- when connection is bad.public Date getStartTime() throws SkypeException
SkypeException
- when connection is bad.public User getPartner() throws SkypeException
SkypeException
- when connection is bad.public String getPartnerId() throws SkypeException
SkypeException
- when connection is bad.public String getPartnerDisplayName() throws SkypeException
SkypeException
- when connection is bad.public Call.Type getType() throws SkypeException
SkypeException
- when connection is bad.public Call.Status getStatus() throws SkypeException
SkypeException
- when connection is bad.public int getDuration() throws SkypeException
SkypeException
- when connection is bad.public int getErrorCode() throws SkypeException
SkypeException
- when connection is bad.public void setReceiveVideoEnabled(boolean videoStatus) throws SkypeException
videoStatus
- enable = true.
SkypeException
- when connection is bad.public boolean isReceiveVideoEnabled() throws SkypeException
SkypeException
- when connection is bad.public void setSendVideoEnabled(boolean videoStatus) throws SkypeException
videoStatus
- enable = true.
SkypeException
- when connection is bad.public boolean isSendVideoEnabled() throws SkypeException
SkypeException
- when connection is bad.public Call.VideoStatus getReceiveVideoStatus() throws SkypeException
SkypeException
- when connection is bad.public Call.VideoStatus getSendVideoStatus() throws SkypeException
SkypeException
- when connection is bad.public String getConferenceId() throws SkypeException
SkypeException
- when connection is bad.public String getParticipantsCount() throws SkypeException
SkypeException
public void setFileInput(File file) throws SkypeException
SkypeException
public void clearFileInput() throws SkypeException
SkypeException
public void setFileOutput(File file) throws SkypeException
SkypeException
public void clearFileOutput() throws SkypeException
SkypeException
public void setFileCaptureMic(File file) throws SkypeException
SkypeException
public void clearFileCaptureMic() throws SkypeException
SkypeException
public void setPortInput(int port) throws SkypeException
SkypeException
public void clearPortInput() throws SkypeException
SkypeException
public void setPortOutput(int port) throws SkypeException
SkypeException
public void clearPortOutput() throws SkypeException
SkypeException
public void setPortCaptureMic(int port) throws SkypeException
SkypeException
public void clearPortCaptureMic() throws SkypeException
SkypeException
public boolean canTransferTo(String skypeId) throws SkypeException
SkypeException
public void transferTo(String... skypeIds) throws SkypeException
SkypeException
public final Object getData(String name)
name
- name whose associated user data is to be returned.
Map.get(Object)
public final void setData(String name, Object userData)
name
- name with which the specified user data is to be associated.userData
- user data to be associated with the specified name.Map.put(Object, Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |