Android SDK v6.5.0 Deprecation Note

Deprecated APIs

AmityCoreClient

MethodsRemarks

registerDeviceForPushNotifications()

Use registerPushNotification() instead

unregisterDeviceForPushNotifications()

Use unregisterPushNotification() instead

notification()

Use notifications.user() instead

AmityChannelRepository

MethodsRemarks

notification()

Use AmityCoreClient.notifications().channel() instead

AmityCommunityRepository

MethodsRemarks

notification()

Use AmityCoreClient.notifications.community() instead

membership().addMembers()

Use moderation().addMembers() instead

membership().removeMembers()

Use moderation().removeMembers() instead

moderation().banUsers()

Use moderation().banMembers() instead

moderation().unbanUsers()

Use moderation().unbanMembers() instead

AmityCommentRepository

MethodsRemarks

getReactions()

Use AmityCoreClient.newReactionRepository.getReactions() instead

AmityComment

MethodsRemarks

react()

Use AmityCoreClient.newReactionRepository().addReaction() or AmityCoreClient.newReactionRepository().removeReaction() instead

report()

Use AmitySocialClient.newCommentRepository().flagComment() or AmitySocialClient.newCommentRepository().unflagComment() instead

delete()

Use AmitySocialClient.newCommentRepository().softDeleteComment() or AmitySocialClient.newCommentRepository().hardDeleteComment() instead

edit()

AmitySocialClient.newCommentRepository().updateComment() instead

AmityMessageRepository

MethodsRemarks

getReactions()

Use AmityCoreClient.newReactionRepository().getReactions() instead

AmityMessage

MethodsRemarks

react()

Use AmityCoreClient.newReactionRepository().addReaction() or AmityCoreClient.newReactionRepository().removeReaction() instead

AmityPostRepository

MethodsRemarks

getReactions()

Use AmityCoreClient.newReactionRepository().getReactions() instead

review()

Use AmitySocialClient.newPostRepository().approvePost() or AmitySocialClient.newPostRepository().declinePost() instead

AmityPost

MethodsRemarks

react()

Use AmityCoreClient.newReactionRepository.()addReaction() or AmityCoreClient.newReactionRepository().removeReaction() instead

report()

Use AmitySocialClient.newPostRepository().flagPost() or AmitySocialClient.newPostRepository().unflagPost() instead

delete()

Use AmitySocialClient.newPostRepository().softDeletePost() or AmitySocialClient.newPostRepository().hardDeletePost() instead

edit()

AmitySocialClient.newPostRepository().updatePost() instead

getFeedType()

Use getReviewStatus() instead

AmityUserRepository

MethodsRemarks

relationship().me().getFollowInfo()

Use AmityCoreClient.newUserRepository().relationship().getMyFollowInfo() instead

relationship().me().getFollowers()

Use AmityCoreClient.newUserRepository().relationship().getMyFollowers() instead

List of followers query can be filtered by AmityReviewStatus

relationship().me().getFollowings()

Use AmityCoreClient.newUserRepository().relationship().getMyFollowings() instead

relationship().me().accept()

Use AmityCoreClient.newUserRepository().relationship().acceptMyFollower() instead

relationship().me().decline()

Use AmityCoreClient.newUserRepository().relationship().declineMyFollower() instead

relationship().me().unfollow()

Use AmityCoreClient.newUserRepository().relationship().unfollow() instead

relationship().me().removeFollower()

Use AmityCoreClient.newUserRepository().relationship().removeMyFollower() instead

relationship().user().getFollowInfo()

Use AmityCoreClient.newUserRepository().relationship().getFollowInfo() instead

relationship().user().getFollowers()

Use AmityCoreClient.newUserRepository().relationship().getFollowers() instead

relationship().user().getFollowings()

Use AmityCoreClient.newUserRepository().relationship().getFollowings() instead

relationship().user().follow()

Use AmityCoreClient.newUserRepository().relationship().follow() instead

Enum

NameRemark

AmityFeedType

Use AmityReviewStatus instead

Last updated