The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.

name

If you use spaces in the name, the name is truncated to the space.

protocol => 8 : Num

By default is 8.

notify => sub { my ($notification) = @_; ... }

This callback receives Skype-to-client commands and responses.

$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

Public API Reference

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.