NAME
Net::DBus::Skype::API - Skype API for Linux
SYNOPSIS
use AnyEvent;
use AnyEvent::DBus;
use Net::DBus::Skype::API;
my $cv = AE::cv;
my $skype = Net::DBus::Skype::API->new(
notify => sub {
my ($notification) = @_;
print $notification;
},
);
$skype->attach;
$cv->recv;
DESCRIPTION
This module is uselessly without Skype::Any.
METHODS
- my $skype = Net::DBus::Skype::API->new([\%args])
-
Create new instance of Net::DBus::Skype::API.
- $skype->attach()
-
Prepare to connect to Skype.
- $skype->is_running()
-
Return 1 if Skype is running.
- $skype->send_command($command)
-
Send client-to-Skype command.
FAQ
- What's the reason why this module was written?
-
Because Net::DBus::Skype doesn't provide Notify method for DBus. Without it, can't receive responses.
SEE ALSO
AUTHOR
Takumi Akiyama <t.akiym at gmail.com>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.