Suggestions

close search

StringeeChange

public class StringeeChange
extends Object



Represents a state change of Conversation, Message, ChatRequest.



Summary


Public Constructors
StringeeChange(Type changeType, StringeeObject object)

Creates a new StringeeChange instance with the type of change and Stringee object.

Public methods
Type getChangeType()

Returns the type of change.

void setChangeType(Type changeType)

Set the type of change.

StringeeObject.Type getObjectType()

Returns the type of Stringee object.

void setObjectType(StringeeObject.Type objectType)

Set the type of Stringee object.

StringeeObject getObject()

Returns the Stringee object.

void setObject(StringeeObject object)

Set the Stringee object.


Public constructors


StringeeChange

StringeeChange(Type changeType, StringeeObject object)

Creates a new StringeeChange instance with the type of change and Stringee object.

Parameters
changeType

The type of change.

object

The Stringee object.



Public methods


getChangeType

Type getChangeType()

Returns the type of change: INSERT, UPDATE, DELETE.



setChangeType

void setChangeType(Type changeType)

Set the type of change.



getObjectType

StringeeObject.Type getObjectType()

Returns the type of Stringee object: CONVERSATION, MESSAGE, USER, REQUEST.



setObjectType

void setObjectType(StringeeObject.Type objectType)()

Set the type of Stringee object.



getObject

StringeeObject getObject()

Returns the Stringee object.



setObject

void setObject(StringeeObject object)

Set the Stringee object.