Links

iOS SDK v6.9.0 Deprecation Note

Deprecated APIs

Deprecated APIs in AmityClient:
Method
Remark
registerDeviceForPushNotification(token:)
Use registerPushNotification( token:) instead.
unregisterDeviceForPushNotification(userId:)
Use unregisterPushNotification(userId:) instead
updateUser(builder:)
Use editUser(builder:) instead.
Deprecated APIs in AmityUserNotificationsManager:
Method
Remark
getSettingsWithCompletion(_ completion:)
Use getSettings() instead.
Deprecated APIs in AmityPostRepository:
Method
Remark
createPost(builder:, targetId:, targetType:)
and
createPost(builder:, targetId:, targetType:, metadata:, mentionees:)
Use
createTextPost(builder:, targetId:, targetType:, metadata:, mentionees:) ,
createImagePost(builder:, targetId:, targetType:, metadata:, mentionees:),
createFilePost(builder:, targetId:, targetType:, metadata:, mentionees:),
createPollPost(_ builder:, targetId:, targetType:, metadata:, mentionees:)or
createLiveStreamPost(_ builder:, targetId:, targetType:, metadata:, mentionees:)
instead.
Deprecated APIs in AmityCommunityRepository:
Method
Remark
searchMembers(communityId:, keyword:, membershipOptions: , roles:, sortBy:)
Use searchMembers(communityId:, keyword:, membershipOptions: , roles:, sortBy:) in AmityCommunityMembership instead.
updateCommunity(id:, options:)
Use editCommunity(id:, options:) instead.
Deprecated APIs in AmityChannelRepository:
Method
Remark
updateChannel(builder:)
Use editChannel(builder:) instead.
Deprecated APIs in AmitySubChannelRepository:
Method
Remark
updateSubChannel( subchannelId:, updatedName:)
Use editSubChannel( subchannelId:, updatedName:) instead.
Deprecated APIs in AmityCommentRepository:
Method
Remark
updateComment(commentId:, options:)
Use editComment(commentId:, options:) instead.
Deprecated APIs in AmityChannelModeration:
Method
Remark
addRoles(role:, userIds:)
Use addRole(role:, userIds:) instead.
removeRoles(role:, userIds:)
Use removeRole(role:, userIds:) instead.
Deprecated APIs in AmityMessageRepository:
Method
Remark
editMessage(messageId:, text:, metadata:, mentionees:)
Use editTextMessage(withId:, text:, metadata:, mentionees:) instead.
Deprecated APIs in AmityStreamBroadcaster. Use the `AmityVideoBroadcaster` class instead:
Method
Remark
setup(config:)
Use setup(config:) in AmityVideoBroadcaster instead.
startPublish(existingStreamId:)
Use startPublish(existingStreamId:) in AmityVideoBroadcaster instead.
stopPublish()
Use stopPublish() in AmityVideoBroadcaster instead.
Last modified 8mo ago