|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.skype.VoiceMail
public final class VoiceMail
Class to represent the Skype VoiceMail object.
https://developer.skype.com/Docs/ApiDoc/VOICEMAIL_object
,
Serialized FormNested Class Summary | |
---|---|
static class |
VoiceMail.FailureReason
Enumeration of VoiceMail failure reason types |
static class |
VoiceMail.Status
Enumeration of VoiceMail status types. |
static class |
VoiceMail.Type
Enumeration of VoiceMail types. |
Method Summary | |
---|---|
void |
addVoiceMailStatusChangedListener(VoiceMailStatusChangedListener listener)
Adds a listener for the status changed event. |
void |
dispose()
Deletes this VoiceMail object. |
void |
download()
Downloads the playback of this VoiceMail object. |
boolean |
equals(Object compared)
Indicates whether some other object is "equal to" this VoiceMail object. |
int |
getAllowedDuration()
Returns the maximum duration of this VoiceMail object in seconds allowed to leave to partner. |
Object |
getData(String name)
Returns the user data to which this object maps to the specified by the name. |
int |
getDuration()
Returns the duration of this VoiceMail object in seconds. |
VoiceMail.FailureReason |
getFailureReason()
Returns the failure reason of this VoiceMail object. |
String |
getId()
Returns the ID of this VoiceMail object. |
User |
getPartner()
Returns the Skype user who is the partner in this voice mail. |
String |
getPartnerDisplayName()
Returns the display name of the Skype user who is the partner in this voice mail. |
String |
getPartnerId()
Returns the Skype ID who is the partner in this voice mail. |
Date |
getStartTime()
Returns the start time of this VoiceMail object. |
VoiceMail.Status |
getStatus()
Returns the current status of this VoiceMail object. |
VoiceMail.Type |
getType()
Returns the type of this VoiceMail object. |
int |
hashCode()
Returns the hash code value for this VoiceMail object. |
void |
openAndStartPlayback()
Opens the Skype window and starts playing this VoiceMail object. |
void |
removeVoiceMailStatusChangedListener(VoiceMailStatusChangedListener listener)
Removes a listener for the status changed event. |
void |
setData(String name,
Object userData)
Associates the specified user data with the specified name in this object. |
void |
startPlayback()
Starts the playback of this VoiceMail object. |
void |
startRecording()
Starts the recording of this VoiceMail object. |
void |
stopPlayback()
Stops the playback of this VoiceMail object. |
void |
stopRecording()
Stops the recording of this VoiceMail object. |
void |
upload()
Uploads the playback of this VoiceMail object. |
void |
waitForFinishing()
Waits for finishing. |
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.
true
if this VoiceMail object is the same as the compared argument; false
otherwise.public String getId()
public void addVoiceMailStatusChangedListener(VoiceMailStatusChangedListener listener) throws SkypeException
listener
- the listener to be added
SkypeException
public void removeVoiceMailStatusChangedListener(VoiceMailStatusChangedListener listener)
listener
- the listener to be removedpublic VoiceMail.Type getType() throws SkypeException
SkypeException
- if the connection is badpublic User getPartner() throws SkypeException
SkypeException
- if the connection is badpublic String getPartnerId() throws SkypeException
SkypeException
- if the connection is badpublic String getPartnerDisplayName() throws SkypeException
SkypeException
- if the connection is badpublic VoiceMail.Status getStatus() throws SkypeException
SkypeException
- if connection is badpublic VoiceMail.FailureReason getFailureReason() throws SkypeException
SkypeException
- if connection is badpublic Date getStartTime() throws SkypeException
SkypeException
- if connection is badpublic int getDuration() throws SkypeException
SkypeException
- if connection is badpublic int getAllowedDuration() throws SkypeException
SkypeException
- if connection is badpublic void startPlayback() throws SkypeException
SkypeException
- if the connection is badpublic void stopPlayback() throws SkypeException
SkypeException
- if the connection is badpublic void upload() throws SkypeException
SkypeException
- if the connection is badpublic void download() throws SkypeException
SkypeException
- if the connection is badpublic void startRecording() throws SkypeException
SkypeException
- if the connection is badpublic void stopRecording() throws SkypeException
SkypeException
- if the connection is badpublic void dispose() throws SkypeException
SkypeException
- if the connection is badpublic void openAndStartPlayback() throws SkypeException
SkypeException
- if the connection is badpublic void waitForFinishing() throws SkypeException
IllegalStateException
- if the type is not outgoing
SkypeException
- if the connection is badpublic 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 |