-
- All Implemented Interfaces:
-
io.getstream.chat.android.client.errorhandler.ErrorHandler,kotlin.Comparable
public interface CreateChannelErrorHandler implements ErrorHandler
Error handler for io.getstream.chat.android.client.ChatClient.createChannel calls.
-
-
Method Summary
Modifier and Type Method Description abstract ReturnOnErrorCall<Channel>onCreateChannelError(Call<Channel> originalCall, String channelType, String channelId, List<String> memberIds, Map<String, Object> extraData)Returns a Result from this side effect when original request fails. abstract StringgetName()The name of this plugin. abstract IntegergetPriority()The priority of this ErrorHandler. -
-
Method Detail
-
onCreateChannelError
abstract ReturnOnErrorCall<Channel> onCreateChannelError(Call<Channel> originalCall, String channelType, String channelId, List<String> memberIds, Map<String, Object> extraData)
Returns a Result from this side effect when original request fails.
- Parameters:
originalCall- The original call.channelType- The channel type.channelId- The channel id.memberIds- The list of members' ids.extraData- Map of key-value pairs that let you store extra data
-
getPriority
abstract Integer getPriority()
The priority of this ErrorHandler. Use it to run it before error handlers of the same type.
-
-
-
-