Class: Skype::VoiceMail
Constant Summary
collapse
- OBJECT_NAME =
"VOICEMAIL"
Instance Attribute Summary
#property2callback, #property2symbol
Class Method Summary
collapse
Instance Method Summary
collapse
inherited, #initialize, new, notified, #to_s
#delNotify, #notified, #notify, #setNotify
#def_parser, #notice
#invoke_alter, #invoke_echo, #invoke_get, #invoke_one, #invoke_set
Class Method Details
.create(target) ⇒ Object
5
6
7
|
# File 'lib/skype/voicemail.rb', line 5
def self.create target
Skype.invoke "CALLVOICEMAIL #{target}"
end
|
.open(id) ⇒ Object
9
10
11
|
# File 'lib/skype/voicemail.rb', line 9
def self.open id
Skype.invoke "OPEN VOICEMAIL #{id}"
end
|
Instance Method Details
#delete ⇒ Object
64
|
# File 'lib/skype/voicemail.rb', line 64
def delete() invoke_alter "DELETE" end
|
#download ⇒ Object
56
|
# File 'lib/skype/voicemail.rb', line 56
def download() invoke_alter "DOWNLOAD" end
|
#get_allowed_duration ⇒ Object
Also known as:
getAllowedDuration
41
|
# File 'lib/skype/voicemail.rb', line 41
def get_allowed_duration() parse :allowed_duration, invoke_get("ALLOWED_DURATION") end
|
#get_duration ⇒ Object
Also known as:
getDuration
37
|
# File 'lib/skype/voicemail.rb', line 37
def get_duration() parse :duration, invoke_get("DURATION") end
|
#get_failure_reason ⇒ Object
Also known as:
getFailureReason
29
|
# File 'lib/skype/voicemail.rb', line 29
def get_failure_reason() invoke_get("FAILUREREASON") end
|
#get_partner ⇒ Object
Also known as:
getPartner
17
|
# File 'lib/skype/voicemail.rb', line 17
def get_partner() parse :partner, invoke_get("PARTNER_HANDLE") end
|
#get_partner_dispname ⇒ Object
Also known as:
getPartnerDispname
21
|
# File 'lib/skype/voicemail.rb', line 21
def get_partner_dispname() invoke_get("PARTNER_DISPNAME") end
|
#get_status ⇒ Object
Also known as:
getStatus
25
|
# File 'lib/skype/voicemail.rb', line 25
def get_status() invoke_get("STATUS") end
|
#get_timestamp ⇒ Object
Also known as:
getTimestamp
33
|
# File 'lib/skype/voicemail.rb', line 33
def get_timestamp() parse :timestamp, invoke_get("TIMESTAMP") end
|
#get_type ⇒ Object
Also known as:
getType
13
|
# File 'lib/skype/voicemail.rb', line 13
def get_type() invoke_get("TYPE") end
|
#start_playback ⇒ Object
Also known as:
startPlayback
def alter action
@@skypeApi.invoke "ALTER VOICEMAIL #{id} #{action}"
end
48
|
# File 'lib/skype/voicemail.rb', line 48
def start_playback() invoke_alter "STARTPLAYBACK" end
|
#start_recording ⇒ Object
Also known as:
startRecording
58
|
# File 'lib/skype/voicemail.rb', line 58
def start_recording() invoke_alter "STARTRECORDING" end
|
#stop_playback ⇒ Object
Also known as:
stopPlayback
51
|
# File 'lib/skype/voicemail.rb', line 51
def stop_playback() invoke_alter "STOPPLAYBACK" end
|
#stop_recording ⇒ Object
Also known as:
stopRecording
61
|
# File 'lib/skype/voicemail.rb', line 61
def stop_recording() invoke_alter "STOPRECORDING" end
|
#upload ⇒ Object
54
|
# File 'lib/skype/voicemail.rb', line 54
def upload() invoke_alter "UPLOAD" end
|