Files
faveo/vendor/brozot/laravel-fcm/doc/LaravelFCM-Response-TopicResponseContract.md
Manish Verma 76e85db070 update 1.0.8.0
Commits for version update
2016-10-17 12:02:27 +05:30

724 B

LaravelFCM\Response\TopicResponseContract

Interface TopicResponseContract

  • Interface name: TopicResponseContract
  • Namespace: LaravelFCM\Response
  • This is an interface

Methods

isSuccess

boolean LaravelFCM\Response\TopicResponseContract::isSuccess()

true if topic sent with success

  • Visibility: public

error

string LaravelFCM\Response\TopicResponseContract::error()

return error message you should test if it's necessary to resent it

  • Visibility: public

shouldRetry

boolean LaravelFCM\Response\TopicResponseContract::shouldRetry()

return true if it's necessary resent it using exponential backoff

  • Visibility: public