Skip to content

Commit

Permalink
[i278] spotless, api dump
Browse files Browse the repository at this point in the history
  • Loading branch information
kanat authored and JcMinarro committed Apr 3, 2024
1 parent 5ff0625 commit aaa84b1
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
13 changes: 13 additions & 0 deletions stream-chat-android-client/api/stream-chat-android-client.api
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public final class io/getstream/chat/android/client/ChatClient {
public final fun flagMessage (Ljava/lang/String;)Lio/getstream/result/call/Call;
public final fun flagUser (Ljava/lang/String;)Lio/getstream/result/call/Call;
public final fun getAppSettings ()Lio/getstream/chat/android/models/AppSettings;
public final fun getChannel (Ljava/lang/String;IIZ)Lio/getstream/result/call/Call;
public final fun getChannel (Ljava/lang/String;Ljava/lang/String;IIZ)Lio/getstream/result/call/Call;
public static synthetic fun getChannel$default (Lio/getstream/chat/android/client/ChatClient;Ljava/lang/String;IIZILjava/lang/Object;)Lio/getstream/result/call/Call;
public static synthetic fun getChannel$default (Lio/getstream/chat/android/client/ChatClient;Ljava/lang/String;Ljava/lang/String;IIZILjava/lang/Object;)Lio/getstream/result/call/Call;
public final fun getClientState ()Lio/getstream/chat/android/client/setup/state/ClientState;
public final fun getConfig ()Lio/getstream/chat/android/client/api/ChatClientConfig;
public final fun getConnectionId ()Ljava/lang/String;
Expand Down Expand Up @@ -539,6 +543,8 @@ public final class io/getstream/chat/android/client/channel/ChannelClient {
public final fun deleteReaction (Ljava/lang/String;Ljava/lang/String;)Lio/getstream/result/call/Call;
public final fun disableSlowMode ()Lio/getstream/result/call/Call;
public final fun enableSlowMode (I)Lio/getstream/result/call/Call;
public final fun get (IIZ)Lio/getstream/result/call/Call;
public static synthetic fun get$default (Lio/getstream/chat/android/client/channel/ChannelClient;IIZILjava/lang/Object;)Lio/getstream/result/call/Call;
public final fun getChannelId ()Ljava/lang/String;
public final fun getChannelType ()Ljava/lang/String;
public final fun getCid ()Ljava/lang/String;
Expand Down Expand Up @@ -802,6 +808,13 @@ public final class io/getstream/chat/android/client/errors/cause/MessageModerati
public fun <init> (Ljava/lang/String;)V
}

public final class io/getstream/chat/android/client/errors/cause/StreamChannelNotFoundException : io/getstream/chat/android/client/errors/cause/StreamException {
public fun <init> (Ljava/lang/String;Ljava/lang/String;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun getCid ()Ljava/lang/String;
public fun getMessage ()Ljava/lang/String;
}

public abstract class io/getstream/chat/android/client/errors/cause/StreamCodeException : io/getstream/chat/android/client/errors/cause/StreamException {
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Throwable;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public synthetic fun <init> (Ljava/lang/String;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ import io.getstream.chat.android.client.errorhandler.onCreateChannelError
import io.getstream.chat.android.client.errorhandler.onMessageError
import io.getstream.chat.android.client.errorhandler.onQueryMembersError
import io.getstream.chat.android.client.errorhandler.onReactionError
import io.getstream.chat.android.client.errors.ChatError
import io.getstream.chat.android.client.errors.cause.StreamChannelNotFoundException
import io.getstream.chat.android.client.events.ChatEvent
import io.getstream.chat.android.client.events.ConnectedEvent
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright (c) 2014-2024 Stream.io Inc. All rights reserved.
*
* Licensed under the Stream License;
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://github.com/GetStream/stream-chat-android/blob/main/LICENSE
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package io.getstream.chat.android.client.errors.cause

/**
Expand All @@ -6,4 +22,4 @@ package io.getstream.chat.android.client.errors.cause
public class StreamChannelNotFoundException(
public val cid: String,
public override val message: String = "Channel with cid \"$cid\" not found",
) : StreamException(message)
) : StreamException(message)

0 comments on commit aaa84b1

Please sign in to comment.