GroupMeMessages ClassCkSoftware GroupMe SDK - Documentation
BaseClass for message-handling implementations. Provides basic methods for Create, Index, Like and Unlike commands.
Inheritance Hierarchy

System Object
  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

public abstract class GroupMeMessages

The GroupMeMessages type exposes the following members.

Constructors

  NameDescription
Protected methodGroupMeMessages
Instantiates a new GroupMeMessages object.
Top
Methods

  NameDescription
Public methodCreateMessage
Creates a new message in this group.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetCreateMessageCommand
When implemented, delivers a correctly instantiated CreateMessage command.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetLoadMessagesCommandForDirection
When implemented, delivers a correctly instantiated IndexMessage command for a given direction.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLikeMessage(String)
Likes the message with the supplied message id.
Public methodLikeMessage(GroupMeMessageData)
Likes the supplied message.
Public methodLoadCurrentMessages
Loads the currently available messages. If there were messages loaded previously (located in LoadedMessages), they will be cleared.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodScrollBackward
Moves max 20 messages backward, from the last known message available.
Public methodScrollForward
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).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnlikeMessage(String)
Unlikes the message with the supplied message id.
Public methodUnlikeMessage(GroupMeMessageData)
Unlikes the supplied message.
Top
Fields

  NameDescription
Protected fieldInitialLoadDone
Defines if the initial-load is completed successfully (and a scrolling can be used).
Protected fieldNewestMessageId
Defines the newest loaded message id, used for scrolling.
Protected fieldOldestMessageId
Defines the oldest loaded message id, used for scrolling.
Top
Properties

  NameDescription
Public propertyLoadedMessages
Contains all currently loaded (in-memory) messages, ordered by CreatedAt. Will be cleared if LoadCurrentMessages() is executed.
Top
See Also