-
- All Implemented Interfaces:
-
com.apptentive.android.sdk.serialization.SerializableObject
public class LegacyConversationMetadataItem implements SerializableObject
Represents a modified version of legacy [ConversationMetadataItem] class (read-only). Used in legacy data migration. See: https://github.com/apptentive/apptentive-android/blob/master/apptentive/src/main/java/com/apptentive/android/sdk/conversation/ConversationMetadataItem.java
-
-
Field Summary
Fields Modifier and Type Field Description private ConversationStateconversationStateprivate final StringlocalConversationIdprivate final FiledataFileprivate final FilemessagesFileprivate StringconversationIdprivate StringconversationTokenprivate StringconversationEncryptionKeyprivate StringuserId
-
Constructor Summary
Constructors Constructor Description LegacyConversationMetadataItem(String localConversationId, String conversationId, File dataFile, File messagesFile)LegacyConversationMetadataItem(DataInput in)LegacyConversationMetadataItem(String conversationId, String conversationToken, File dataFile, String conversationEncryptionKey, String userId)
-
Method Summary
Modifier and Type Method Description ConversationStategetConversationState()StringgetLocalConversationId()FilegetDataFile()FilegetMessagesFile()StringgetConversationId()voidsetConversationId(String conversationId)StringgetConversationToken()voidsetConversationToken(String conversationToken)StringgetConversationEncryptionKey()StringgetUserId()voidwriteExternal(DataOutput out)The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values. StringtoString()-
-
Method Detail
-
getConversationState
ConversationState getConversationState()
-
getLocalConversationId
String getLocalConversationId()
-
getDataFile
File getDataFile()
-
getMessagesFile
File getMessagesFile()
-
getConversationId
@Nullable() String getConversationId()
-
setConversationId
void setConversationId(String conversationId)
-
getConversationToken
@Nullable() String getConversationToken()
-
setConversationToken
void setConversationToken(String conversationToken)
-
getConversationEncryptionKey
@Nullable() String getConversationEncryptionKey()
-
writeExternal
void writeExternal(DataOutput out)
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values.
-
-
-
-