PHP Interface LaravelFCM\Response\TopicResponseContract

Show file Open project: brozot/laravel-fcm

Public Methods

Method Description
error ( ) : string return error message you should test if it's necessary to resent it
isSuccess ( ) : boolean true if topic sent with success
shouldRetry ( ) : boolean return true if it's necessary resent it using exponential backoff

Method Details

error() public method

return error message you should test if it's necessary to resent it
public error ( ) : string
return string error

isSuccess() public method

true if topic sent with success
public isSuccess ( ) : boolean
return boolean

shouldRetry() public method

return true if it's necessary resent it using exponential backoff
public shouldRetry ( ) : boolean
return boolean