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

NAME

WWW::Google::C2DM::Constants - constants used for C2DM

SYNOPSIS

  # export all
  use WWW::Google::C2DM::Constants; # same as `use WWW::Google::C2DM::Constants qw(:all)`

  # export error code only
  use WWW::Google::C2DM::Constants qw(:error_code);

  # do something...
  my $res = $c2dm->send(...);
  if ($res->is_error && $res->error_code eq NotRegistered) {
      ...
  }

DESCRIPTION

WWW::Google::C2DM::Constants is some constants for C2DM.

METHODS

  # error code for C2DM
  QuotaExceeded
  DeviceQuotaExceeded
  MissingRegistration
  InvalidRegistration
  MismatchSenderId
  NotRegistered
  MessageTooBig
  MissingCollapseKey

AUTHOR

xaicron <xaicron@cpan.org>

COPYRIGHT

Copyright 2012 - xaicron

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO