CachedDataClearOrder
public enum CachedDataClearOrder: Int
Options for the order that determines which channel’s messages will be deleted.
Since
4.6.0-
Messages will be deleted by the custom order.
SendbirdChatSDK will delete messages in the local storage depending the channel list that the client returns through the
ClearCachedDataByCustomOrderDelegate/sortByCustomOrder(allCachedBaseChannelInfos:).Since
4.6.0Declaration
Swift
case custom -
Ascending order.
If the
messageCollectionLastAccessedAtis same, thecreatedAtoflastMessagewill be used as the ascending order.Since
4.6.0Declaration
Swift
case messageCollectionAccessedAt
View on GitHub
Install in Dash