BaseClass for message-handling implementations. Provides basic methods for Create, Index, Like and Unlike commands.
Inheritance Hierarchy
CkSoftware.GroupMe.Sdk.Messaging GroupMeMessages
CkSoftware.GroupMe.Sdk.Messaging GroupMeDirectMessages
CkSoftware.GroupMe.Sdk.Messaging GroupMeGroupMessages
Namespace: CkSoftware.GroupMe.Sdk.Messaging
Assembly: CkSoftware.GroupMe.Sdk.Messaging (in CkSoftware.GroupMe.Sdk.Messaging.dll) Version: 1.0.1.35397 (1.0.1.0)
Syntax
The GroupMeMessages type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GroupMeMessages |
Instantiates a new GroupMeMessages object.
|
Methods
Name | Description | |
---|---|---|
CreateMessage |
Creates a new message in this group.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCreateMessageCommand |
When implemented, delivers a correctly instantiated CreateMessage command.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetLoadMessagesCommandForDirection |
When implemented, delivers a correctly instantiated IndexMessage command for a given direction.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
LikeMessage(String) |
Likes the message with the supplied message id.
| |
LikeMessage(GroupMeMessageData) |
Likes the supplied message.
| |
LoadCurrentMessages |
Loads the currently available messages. If there were messages loaded previously (located in LoadedMessages), they will
be cleared.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ScrollBackward |
Moves max 20 messages backward, from the last known message available.
| |
ScrollForward |
Moves 20 messages forward, will do a big jump, if there are more than 20 new messages available in this group (will
create a messages-gap).
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UnlikeMessage(String) |
Unlikes the message with the supplied message id.
| |
UnlikeMessage(GroupMeMessageData) |
Unlikes the supplied message.
|
Fields
Name | Description | |
---|---|---|
InitialLoadDone |
Defines if the initial-load is completed successfully (and a scrolling can be used).
| |
NewestMessageId |
Defines the newest loaded message id, used for scrolling.
| |
OldestMessageId |
Defines the oldest loaded message id, used for scrolling.
|
Properties
Name | Description | |
---|---|---|
LoadedMessages |
Contains all currently loaded (in-memory) messages, ordered by CreatedAt. Will be cleared if LoadCurrentMessages() is
executed.
|
See Also