Some of the method signature has been changed to make it more consistent across SDK. This list contain those changes.
Please refer to each feature documentation for its sample code implementation.
AmityCoreClient, AmityChatClient, AmitySocialClient and, AmityVideoClient (EkoClient)
EkoClient is separated to AmityCoreClient, AmityChatClient, AmitySocialClient and AmityVideoClient.
Now you can use updateUser(...)
method present in AmityCoreClient
to set display name, avatar, avatar custom url, user metadata, user description.
AmityChannel (EkoChannel)
AmtiyChannelRepository (EkoChannelRepository)
AmityChannelParticipation (EkoChannelParticipation)
AmityChannelNotification (EkoChannelNotification)
setAllowed(...)
method has been removed and enable()
and disable()
method has been introduced.
isAllowed()
method is removed and getSettings
method has been introduced
AmityChannelNotificationSettings (New class)
AmityChannelModeration (EkoChannelModeration)
Methods related to rateLimit
has been removed.
AmtiyCommentRepository (EkoCommentRepository)
AmtiyMessageRepository (EkoMessageRepository)
AmityCommunityRepository (EkoCommunityRepository)
AmityCommunityParticipation (EkoCommunityParticipation)
AmityFeedRepository (EkoFeedRepository)
getAllReactions
has been merged with getReactions
method
AmityAudioUploadService (EkoAudioUploader), AmityFileUploadService (EkoFileUploader)
AmityImageUploadService (EkoImageUploader)
AmityUploadInfo (EkoUploadInfo)
AmityUserRepository (EkoUserRepository)
AmityStreamRepository (EkoStreamRepository)
EkoSDK 4.0
Amity SDK 5.0
init(...)
AmityCoreClient.init(...)
setup(...)
AmityCoreClient.setup(...)
registerDeviceForPushNotification()
AmityCoreClient.registerDeviceForPushNotification()
unregisterDeviceForPushNotification(...)
AmityCoreClient.unregisterDeviceForPushNotification(...)
registerDevice(...)
AmityCoreClient.registerDevice(...)
unregisterDevice()
AmityCoreClient.unregisterDevice()
getUserId()
AmityCoreClient.getUserId()
getDisplayName()
Obsoleted use AmityCoreClient.getCurrentUser() instead
getUserMetadata()
Obsoleted use AmityCoreClient.getCurrentUser() insead
updateUser()
AmityCoreClient.updateUser()
hasPermission(...)
AmityCoreClient.hasPermission(...)
setDisplayName(...)
Obsoleted use AmityCoreClient.updateUser().displayName() instead
setUserMetadata(...)
Obsoleted use AmityCoreClient.updateUser().metadata() instead
getCurrentUser()
AmityCoreClient.getCurrentUser()
errors()
AmityCoreClient.errors()
notification()
AmityCoreClient.notification()
newUserRepository()
AmityCoreClient.newUserRepository()
newChannelRepository()
AmityChatClient.newChannelRepository()
newCommunityRepository()
AmitySocialClient.newCommunityRepository()
newFeedRepository()
AmitySocialClient.newFeedRepository()
newCommentRepository()
AmitySocialClient.newCommentRepository()
newStreamRepository()
AmityVideoClient.newStreamRepository()
getConfiguration()
AmityCoreClient.getConfiguration()
EkoSDK 4.0
AmitySDK 5.0
moderate()
moderation()
EkoSDK 4.0
Amity SDK 5.0
getChannelCollection()
getChannels()
moderate()
moderation()
EkoSDK 4.0
AmitySDK 5.0
getCollection()
getMembers()
addUsers(...)
addMembers(...)
removeUsers(...)
removeMembers(...)
EkoSDK 4.0
AmitySDK 5.0
setAllowed(allowed: Boolean)
Obsoleted
isAllowed()
Obsoleted
-
enable()
-
disable()
-
getSettings()
EkoSDK 4.0
AmitySDK 5.0
-
isEnabled()
EkoSDK 4.0
AmitySDK 5.0
muteUsers(...)
muteMembers(...)
unmuteUsers(...)
unmuteMembers(...)
removeRateLimit()
Obsoleted
banUsers(...)
banMembers(...)
unbanUsers(...)
unbanMembers(...)
EkoSDK 4.0
Amity SDK 5.0
getReactionCollection(...)
getReactions(...)
getCommentCollection()
getComments()
EkoSDK 4.0
Amity SDK 5.0
getMessageCollection(...)
getMessages(...)
getLatestMessage()
Obsoleted
getReactionCollection(...)
getReactions(...)
EkoSDK 4.0
Amity SDK 5.0
createCommunityByAdmin(...)
createCommunity(...)
updateCommunityByAdmin(...)
updateCommunity(...)
getCommunityCollection()
getCommunities()
getAllCategories()
getCategories()
moderate()
moderation()
EkoSDK 4.0
Amity SDK 5.0
addUsers(...)
addMembers(...)
removeUsers(...)
removeMembers(...)
getMemberships()
getMembers()
EkoSDK 4.0
Amity SDK 5.0
getReactionCollection()
getReactions()
getCommentCollection()
getComments()
EkoSDK 4.0
Amity SDK 5.0
notificationConfig(...)
Obsoleted
EkoSDK 4.0
Amity SDK 5.0
notificationConfig(...)
Obsoleted
EkoSDK 4.0
Amity SDK 5.0
getStartTime(...)
Obsoleted
getElapsedTime(...)
Obsoleted
getTotalBytes(...)
getContentLength(...)
getUploadedBytes(...)
getBytesWritten(...)
getTotalFiles(...)
Obsoleted
getFilesLeft(...)
Obsoleted
getUploadRate(...)
Obsoleted
EkoSDK 4.0
Amity SDK 5.0
getAllUsers()
getUsers()
EkoSDK 4.0
Amity SDK 5.0
getStreamById(...)
getStream(...)
getStreamCollection(...)
getStreams(...)