| Www :: Google :: Cloud :: Berichten Google Cloud Messaging (GCM) Client-bibliotheek |
Download nu |
Www :: Google :: Cloud :: Berichten Rangschikking & Samenvatting
- Vergunning:
- Perl Artistic License
- Naam uitgever:
- Yuji Shimada
- Uitgever website:
- http://search.cpan.org/~xaicron/
Www :: Google :: Cloud :: Berichten Tags
Www :: Google :: Cloud :: Berichten Beschrijving
Www :: Google :: Cloud :: Berichten is een Cloud Messaging (GCM) -clientbibliotheek.Curly Support JSON API alleen.Synopsis Gebruik www :: Google :: Cloud :: Berichten; mijn $ api_key = 'je API-sleutel'; Mijn $ GCM = www :: Google :: Cloud :: Messaging-> NIEUW (API_KEY => $ API_KEY); Mijn $ Res = $ GCM-> Verzenden ({Registration_ids => , Collapse_Key => $ Collapse_Key, Data => {Message => 'Blah Blah Blah',},}); Die $ RES-> FOUT tenzij $ RES-> IS_SUCCESS; Mijn $ Resultaten = $ RES-> Resultaten; Terwijl (mijn $ resultaat = $ resultaten-> volgende) {mijn $ REG_ID = $ resultaat-> target_reg_id; if ($ resultaat-> is_ccess) {zeg sprintf 'Message_id:% s, reg_id:% s', $ resultaat-> bericht_id, $ reg_id; } else {Warn Sprintf 'Fout:% s, reg_id:% s', $ resultaat-> fout, $ reg_id; } if ($ resultaat-> has_canonical_id) {zeg sprintf 'reg_id% s is oud! Vernieuwde reg_id is% s ', $ reg_id, $ resultaat-> registratie_id;' }} De startpagina van het product
Www :: Google :: Cloud :: Berichten Gerelateerde software