-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.errorhandler.ErrorHandler,kotlin.Comparable
public interface SendReactionErrorHandler implements ErrorHandler
Error handler for io.getstream.chat.android.client.ChatClient.sendReaction calls.
-
-
Method Summary
Modifier and Type Method Description abstract ReturnOnErrorCall<Reaction>onSendReactionError(Call<Reaction> originalCall, Reaction reaction, Boolean enforceUnique, User currentUser)Returns a Result from this side effect when original request is failed. abstract StringgetName()The name of this plugin. abstract IntegergetPriority()The priority of this ErrorHandler. -
-
Method Detail
-
onSendReactionError
abstract ReturnOnErrorCall<Reaction> onSendReactionError(Call<Reaction> originalCall, Reaction reaction, Boolean enforceUnique, User currentUser)
Returns a Result from this side effect when original request is failed.
- Parameters:
originalCall- The original call.reaction- The Reaction to send.enforceUnique- Flag to determine whether the reaction should replace other ones added by the current user.currentUser- The currently logged in user.
-
getPriority
abstract Integer getPriority()
The priority of this ErrorHandler. Use it to run it before error handlers of the same type.
-
-
-
-