|
| virtual GString | getId ()=0 |
| | Read only access functions. More...
|
| |
| virtual GString | getTypeId ()=0 |
| | Get the type identifier. More...
|
| |
| virtual GString | getName ()=0 |
| | Gets the card name. More...
|
| |
| virtual int32 | getState ()=0 |
| | Get the card state. More...
|
| |
| virtual GCardMember | getSelfMember ()=0 |
| | Get the card member representing the self user. More...
|
| |
| virtual GArray< GCardMember >::ptr | getMembers ()=0 |
| | Get the list of card members including the self user. More...
|
| |
| virtual GCardMember | findMemberByMemberId (const GString &id)=0 |
| | Search the card member list for a member with the given id. More...
|
| |
| virtual GCardMember | findMemberByUserId (const GString &id)=0 |
| | Search the card member list for a member with the given user id. More...
|
| |
| virtual GCardInvite | findInviteByInviteId (const GString &id)=0 |
| | Search the card member list for an invite with the given id. More...
|
| |
| virtual GArray< GCardInvite >::ptr | getInvites ()=0 |
| | Get the list of card invites. More...
|
| |
| virtual GArray< GCardObject >::ptr | getObjects ()=0 |
| | Get the list of card objects. More...
|
| |
| virtual GCardObject | findObjectByObjectId (const GString &objectId)=0 |
| | Search the card object list for an object with the given id. More...
|
| |
| virtual GCardActivity | getActivity ()=0 |
| | Get the card's activity object. More...
|
| |
| virtual int64 | getCreatedTime ()=0 |
| | Get the time the card was created. More...
|
| |
| virtual int64 | getLastModifiedTime ()=0 |
| | Get the time the card was last modified. More...
|
| |
| virtual bool | sendCardInvite (const GCardInvite &invite)=0 |
| | Card Membership Section. More...
|
| |
| virtual bool | deleteCardInvite (const GCardInvite &invite)=0 |
| | Removes pending invite to join a card. More...
|
| |
| virtual bool | acceptCardRequest (const GCardInvite &request)=0 |
| | Accepts request to join a card. More...
|
| |
| virtual bool | deleteMember (const GCardMember &member)=0 |
| | Removes a member from the card. More...
|
| |
| virtual bool | updateName (const GString &name)=0 |
| | Card Modification functions. More...
|
| |
| virtual bool | startSharing (const GCardTicket &cardTicket)=0 |
| | Starts location sharing with the given card ticket. More...
|
| |
| virtual bool | stopSharing ()=0 |
| | Stops location sharing in this card. More...
|
| |
| virtual bool | shouldReply (const GCardTicket &cardTicket)=0 |
| | Determines whether location request received within the card needs to be replied to. More...
|
| |
| virtual bool | startRequesting (const GCardTicket &cardTicket)=0 |
| | Starts a location request with the given ticket. More...
|
| |
|
virtual bool | stopRequesting ()=0 |
| | Stops the previous card location request.
|
| |
|
virtual bool | declineRequest (const GCardTicket &cardTicket)=0 |
| | Declines a request to share location received from another card member.
|
| |
|
virtual bool | isAcknowledged ()=0 |
| | Checks to see if the most recent event has been acknowledged.
|
| |
|
virtual void | addObject (const GCardObject &cardObject)=0 |
| | Adds a GCardObject to this card's list of card objects.
|
| |
|
virtual void | removeObject (const GCardObject &cardObject)=0 |
| | Removes a GCardObject from this card's list of card objects.
|
| |
|
virtual void | createEvent (const GString &eventType, const GPrimitive &data)=0 |
| | Creates and adds a custom event to this card's activity list.
|
| |
| virtual bool | addListener (const GEventListener &eventListener)=0 |
| | Registeres event listener on the sink. More...
|
| |
|
virtual bool | removeListener (const GEventListener &eventListener)=0 |
| | Unsubscribes listener from events coming from this sink.
|
| |
virtual GArray< GEventListener >
::ptr | getListeners ()=0 |
| | Provides access to the collection of current listeners. More...
|
| |
|
virtual bool | hasContext (int64 key)=0 |
| | Checks, where user context identified by key is already associated with the object.
|
| |
| virtual void | associateContext (int64 key, const GCommonObj &value)=0 |
| | Associates specific context (user data) with the sink. More...
|
| |
|
virtual GCommonObj | getContext (int64 key)=0 |
| | Returns context associated with the sink, or NULL, if it is not found.
|
| |
|
virtual void | clearContext (int64 key)=0 |
| | Clears context identified by key argument.
|
| |
|
virtual GEnumeration< GLong >::ptr | getContextKeys ()=0 |
| | Gets enumeration of all context keys associated with the sink.
|
| |
|
virtual void | deriveContext (const GEventSink &sink)=0 |
| | Derives context from another sink object.
|
| |
| virtual void | eventsOccurred (const GGlympse &glympse, int32 listener, int32 events, const GCommonObj &obj)=0 |
| | This method is invoked each time, when sink object notifies subscriber on an event. More...
|
| |
|
virtual int32 | retain ()=0 |
| | Add a reference to our object in a COM-like way.
|
| |
|
virtual int32 | release ()=0 |
| | Release a reference to our object in a COM-like way.
|
| |
|
virtual int32 | hold ()=0 |
| | Add a reference to our object in a COM-like way.
|
| |
|
virtual int32 | unhold ()=0 |
| | Release a reference to our object in a COM-like way.
|
| |
|
virtual int32 | hashCode ()=0 |
| | Returns an integer hash code for this object.
|
| |
| virtual bool | equals (const GCommonObj &o)=0 |
| | Compares this instance with the specified object and indicates if they are equal. More...
|
| |
| virtual GString | toString ()=0 |
| | Returns a string containing a concise, human-readable description of this object. More...
|
| |
|
virtual void | attachObject (const GCommon &obj)=0 |
| | Asociates arbitrary object with the instance.
|
| |
|
virtual GCommon | extractObject ()=0 |
| | Extracts associated object or NULL if no association is established.
|
| |
Exposes basic properties and a state of a card.
Host application does not create or modify card objects directly. Instead it uses methods exposed by IGlympseCards.