public interface MessageCollectionInitHandler
MessageCollection.initialize(MessageCollectionInitPolicy, MessageCollectionInitHandler).| Modifier and Type | Method and Description |
|---|---|
void |
onApiResult(java.util.List<BaseMessage> apiResultList,
SendBirdException e)
This will give message lists loaded from the api.
|
void |
onCacheResult(java.util.List<BaseMessage> cachedList,
SendBirdException e)
This will give message lists loaded from the db.
|
void onCacheResult(java.util.List<BaseMessage> cachedList, SendBirdException e)
cachedList - the list of BaseMessage loaded from the db.e - SendBirdException in case an error occurred.void onApiResult(java.util.List<BaseMessage> apiResultList, SendBirdException e)
MessageCollectionInitPolicy.apiResultList - the list of BaseMessage loaded from the api.e - SendBirdException in case an error occurred.MessageCollectionInitPolicy Copyright © 2021, Sendbird or its affiliates. All rights reserved.
Report a bug or request a feature
For further developer documentation, see Chat SDK Documentation. That documentation contains more detailed descriptions, conceptual overviews, definitions of terms, and code examples.