Package ai.nexconn.chatui.utils.bundle
Class ChatUIBundleUtils
-
- All Implemented Interfaces:
public final class ChatUIBundleUtilsBundle serialization utility for storing and retrieving non-Parcelable/Serializable nexconn model objects in a Bundle.
-
-
Method Summary
Modifier and Type Method Description static voidputChannelIdentifier(@NonNull() Bundle bundle, @NonNull() String key, @Nullable() ChannelIdentifier identifier)static ChannelIdentifiergetChannelIdentifier(@Nullable() Bundle bundle, @NonNull() String key)static voidputGroupInfo(@NonNull() Bundle bundle, @NonNull() String key, @Nullable() GroupInfo groupInfo)static GroupInfogetGroupInfo(@Nullable() Bundle bundle, @NonNull() String key)-
-
Method Detail
-
putChannelIdentifier
static void putChannelIdentifier(@NonNull() Bundle bundle, @NonNull() String key, @Nullable() ChannelIdentifier identifier)
-
getChannelIdentifier
@Nullable() static ChannelIdentifier getChannelIdentifier(@Nullable() Bundle bundle, @NonNull() String key)
-
putGroupInfo
static void putGroupInfo(@NonNull() Bundle bundle, @NonNull() String key, @Nullable() GroupInfo groupInfo)
-
getGroupInfo
@Nullable() static GroupInfo getGroupInfo(@Nullable() Bundle bundle, @NonNull() String key)
-
-
-
-