All Classes Functions Variables Typedefs Friends Pages
List of all members
Glympse::GlympseEvents Class Reference

Declares the list of event broadcasters and all supported events. More...

#include <GlympseEvents.h>

Inheritance diagram for Glympse::GlympseEvents:
Inheritance graph
[legend]

Static Public Attributes

Listener types

The list of all event broadcasters on the system.

static const int32 LISTENER_PLATFORM = 1
 Platform events. More...
 
static const int32 LISTENER_INVITE = 2
 Invite related events.
 
static const int32 LISTENER_USER = 3
 User events. More...
 
static const int32 LISTENER_TICKET = 4
 Ticket events. More...
 
static const int32 LISTENER_NETWORK = 5
 Network manager events. More...
 
static const int32 LISTENER_BATTERY = 6
 Battary manager events. More...
 
static const int32 LISTENER_IMAGE = 7
 Image events. More...
 
static const int32 LISTENER_LOCATION = 8
 Location manager events. More...
 
static const int32 LISTENER_GROUPS = 9
 Group manager events. More...
 
static const int32 LISTENER_GROUP = 10
 Group events. More...
 
static const int32 LISTENER_CONFIG = 11
 Config events. More...
 
static const int32 LISTENER_HANDOFF = 12
 Handoff events. More...
 
static const int32 LISTENER_LINKED_ACCOUNTS = 13
 Linked account events. More...
 
static const int32 LISTENER_APPLICATIONS = 14
 Applications manager events. More...
 
static const int32 LISTENER_TRIGGERS = 15
 Triggers manager events. More...
 
static const int32 LISTENER_PLACE_SEARCH = 16
 Place search events. More...
 
static const int32 LISTENER_PAIRING = 17
 Pairing events. More...
 
static const int32 LISTENER_FAVORITES = 18
 Favorites events. More...
 
static const int32 LISTENER_DIRECTIONS = 19
 Directions events. More...
 
static const int32 LISTENER_CONFIRMATION_CODE = 20
 Confirnation code events. More...
 
static const int32 LISTENER_CARDS = 21
 CardManager events. More...
 
static const int32 LISTENER_CARD = 22
 CardManager events. More...
 
static const int32 LISTENER_CARD_ACTIVITY = 23
 CardActivity events. More...
 
static const int32 LISTENER_CARD_MEMBER = 24
 CardMember events. More...
 
static const int32 LISTENER_CARD_INVITE = 25
 CardInvite events. More...
 
static const int32 LISTENER_POIS = 26
 PoiManager events. More...
 
static const int32 LISTENER_INVITE_VIEWERS = 30
 Invite viewers events. More...
 
Platform events.

Events broadcasted by LISTENER_PLATFORM.

static const int32 PLATFORM_ACCOUNT_CREATED = 0x00000002
 This event is broadcast when the platform creates a new account on the server. More...
 
static const int32 PLATFORM_ACCOUNT_CREATE_FAILED = 0x00000004
 This event is broadcast when no local account exists, but the platform fails to create a new account on the server. More...
 
static const int32 PLATFORM_LOGIN_SUCCEEDED = 0x00000008
 This event is broadcast every time local account credentials are successfully exchanged for a valid access token or when a valid access token is successfully extracted from the local cache.
 
static const int32 PLATFORM_LOGIN_FAILED = 0x00000020
 This event is broadcast when local account credentials are unable to be exchanged for a valid access token, but for an unknown reason. More...
 
static const int32 PLATFORM_SESSION_FAILED = 0x00000040
 This event is broadcast when a network connection fails due to an expired access token. More...
 
static const int32 PLATFORM_SYNCED_WITH_SERVER = 0x00000080
 
static const int32 PLATFORM_STARTED = 0x00000100
 
static const int32 PLATFORM_STOPPED = 0x00000200
 
static const int32 PLATFORM_LOCATION = 0x00000400
 
static const int32 PLATFORM_LOCATIONS_APPENDED = 0x00000800
 
static const int32 PLATFORM_DATA_APPENDED = 0x00001000
 
static const int32 PLATFORM_USER_ADDED = 0x00002000
 
static const int32 PLATFORM_USER_REMOVED = 0x00004000
 
static const int32 PLATFORM_USER_CHANGED = 0x00008000
 
static const int32 PLATFORM_USER_LIST_REORDERED = 0x00010000
 
static const int32 PLATFORM_TICKET_ADDED = 0x00020000
 
static const int32 PLATFORM_TICKET_REMOVED = 0x00040000
 
static const int32 PLATFORM_TICKET_CHANGED = 0x00080000
 
static const int32 PLATFORM_TICKET_LIST_REORDERED = 0x00100000
 
static const int32 PLATFORM_TICKET_ARRIVED = 0x00200000
 
static const int32 PLATFORM_INVITE_TICKET = 0x00400000
 
static const int32 PLATFORM_INVITE_REQUEST = 0x00800000
 
static const int32 PLATFORM_FIRST_LAUNCH = 0x01000000
 This event is broadcast when the platform is started if, and only if, this is the FIRST time that the platform has been started. More...
 
static const int32 PLATFORM_RATE_LIMITED = 0x02000000
 This event is fired, when server rate limits access to API for certain device or API key. More...
 
static const int32 PLATFORM_STATE_CHANGED = 0x04000000
 The event is fired when platform state changes between forground and background. More...
 
static const int32 PLATFORM_CARD_INVITE = 0x10000000
 The event is fired if invite to join a card is decoded. More...
 
static const int32 PLATFORM_CARD_REQUEST = 0x20000000
 The event is fired if request to join a card is decoded. More...
 
static const int32 PLATFORM_USER_LIST_CHANGED
 
static const int32 PLATFORM_TICKET_LIST_CHANGED
 
Invite events.

Events broadcasted by LISTENER_INVITE.

static const int32 INVITE_DECODED = 0x00000001
 The event is fired, when specified invite code is decoded successfully. More...
 
static const int32 INVITE_INVALID_CODE = 0x00000002
 The event is fired, when specified invite code occurs to be invalid. More...
 
User events.

Events broadcasted by LISTENER_USER.

static const int32 USER_NICKNAME_CHANGED = 0x00000001
 User nickname has been changed. More...
 
static const int32 USER_ACTIVE_TICKET_CHANGED = 0x00000002
 User's "most important" ticket has been changed. More...
 
static const int32 USER_TICKET_ADDED = 0x00000004
 New ticket has been added under the user. More...
 
static const int32 USER_TICKET_REMOVED = 0x00000008
 One of user's tickets has been removed. More...
 
static const int32 USER_AVATAR_UPLOADED = 0x00000010
 Avatar upload operation completed successully. More...
 
static const int32 USER_AVATAR_NOT_UPLOADED = 0x00000020
 Avatar was not uploaded for whatever reason (network failure, etc.). More...
 
static const int32 USER_ACTIVE_TICKET_RESIGNING = 0x00000040
 The user's "most important" ticket is about to change. More...
 
static const int32 USER_CHANGED
 A combination of flags indicating that something has changed about the user. More...
 
Ticket events.

Events in this section are fired, when any ticket properties are changed.

You should not expect any events to be fired by expired or sibling tickets. Even though objects itself can be modified under the covers, API does not provide mechanisms for notifying host application on changes. It is still possible to pull and visualize updates periodically.

The only exception from the rule above is TICKET_TRANSFERRED event.

Events broadcasted by LISTENER_TICKET.

static const int32 TICKET_CREATED = 0x00000001
 The event indicates that outgoing ticket has been successfully created. More...
 
static const int32 TICKET_EXPIRED = 0x00000002
 The event is sent, when ticket expires. More...
 
static const int32 TICKET_FIRST_VIEWED = 0x00000004
 The event is fired, when ticket is added for viewing.
 
static const int32 TICKET_VISIBILITY_CHANGED = 0x00000008
 
static const int32 TICKET_DURATION_CHANGED = 0x00000010
 
static const int32 TICKET_MESSAGE_CHANGED = 0x00000020
 
static const int32 TICKET_DESTINATION_CHANGED = 0x00000040
 
static const int32 TICKET_TRACK_CHANGED = 0x00000080
 
static const int32 TICKET_ETA_CHANGED = 0x00000100
 
static const int32 TICKET_ROUTE_CHANGED = 0x00000200
 
static const int32 TICKET_TRAVEL_MODE_CHANGED = 0x00000400
 
static const int32 TICKET_INVALID_CODE = 0x00000800
 
static const int32 TICKET_INVITE_CREATED = 0x00001000
 
static const int32 TICKET_INVITE_SENT = 0x00002000
 
static const int32 TICKET_INVITE_UPDATED = 0x00004000
 This event is fired periodically while any invites of the ticket are being watched. More...
 
static const int32 TICKET_INVITE_REMOVED = 0x00008000
 
static const int32 TICKET_INVITE_FAILED = 0x00010000
 
static const int32 TICKET_REQUEST_CREATED = 0x00020000
 
static const int32 TICKET_REQUEST_SENT = 0x00040000
 
static const int32 TICKET_REQUEST_FAILED = 0x00080000
 
static const int32 TICKET_FAILED = 0x00100000
 
static const int32 TICKET_ARRIVED = 0x00200000
 TICKET_ARRIVED event is fired when sender of ticket has arrived at destination.
 
static const int32 TICKET_DATA_APPENDED = 0x00400000
 This event is sent, when any properties are appended to the ticket. More...
 
static const int32 TICKET_DATA_CLEARED = 0x00800000
 This event is sent, when any properties are cleared on the ticket. More...
 
static const int32 TICKET_TRANSFERRED = 0x01000000
 This event is fired, when ticket ownership changes. More...
 
static const int32 TICKET_NOT_TRANSFERRED = 0x02000000
 This event is fired, when ticket ownership is not transferred for some reason. More...
 
static const int32 TICKET_COMPLETED = 0x04000000
 This event is sent, when ticket is considered to become immutable (meaning none of ticket properties can change since after this point). More...
 
static const int32 TICKET_INVITE_CHANGED
 
static const int32 TICKET_CHANGED
 
Network events.

Events broadcasted by LISTENER_NETWORK.

static const int32 NETWORK_START_FAILING = 0x00000001
 This notification is spread right after the first network failure. More...
 
static const int32 NETWORK_RECOVERED = 0x00000002
 The message is sent, when the first network request succeeds after any failures.
 
static const int32 NETWORK_WILL_SEND_REQUEST = 0x00000010
 This notification is sent, when Network Manager schedules next request. More...
 
static const int32 NETWORK_IS_PREPARING_REQUEST = 0x00000020
 The event is fired in process of preparing network post to let others contribute to it. More...
 
static const int32 NETWORK_IS_SENDING_REQUEST = 0x00000040
 The event is sent every time, when Client API does final preparations before issueing next network request. More...
 
static const int32 NETWORK_POST_RATE_CALCULATED = 0x00000080
 The event is fired upon every post rate calculation.
 
static const int32 NETWORK_RESPONSE_RECEIVED = 0x00000100
 The event is fired when network manager is done executing request previously scheduled via INetworkManager::issueHttpRequest(). More...
 
static const int32 NETWORK_CLOCKS_SYNCED = 0x00000200
 The event is fired when time sync occurs after significant local time change.
 
static const int32 NETWORK_PUSH_AVAILABILITY_CHANGED = 0x00000400
 The event is fired when the availability of push notifications has changed.
 
BATTERY events.

Events broadcasted by LISTENER_BATTERY.

static const int32 BATTERY_STATE_CHANGED = 0x00000001
 
LOCATION events.

Events broadcasted by LISTENER_LOCATION.

static const int32 LOCATION_STATE_CHANGED = 0x00000001
 The event is fired, when location manager state changes. More...
 
static const int32 LOCATION_REGION_ENTERED = 0x00000010
 The event is fired, when user enters one of currently monitored regions.
 
static const int32 LOCATION_REGION_LEFT = 0x00000020
 The event is fired, when user leaves one of currently monitored regions.
 
static const int32 LOCATION_PROFILE_CHANGED = 0x00000100
 The event accompanies one of battery saving techniques provided by the library. More...
 
static const int32 LOCATION_PROVIDER_STOPPED = 0x00000200
 The event is spread, when underlying location provider is stopped. More...
 
IMAGE events.

Events broadcasted by LISTENER_IMAGE.

static const int32 IMAGE_CHANGED = 0x00000001
 
GROUPS (Manager) events.

Events broadcasted by LISTENER_GROUPS.

static const int32 GROUPS_INVITE = 0x00000001
 Invite to start following public group was received and handled by the platform. More...
 
static const int32 GROUPS_DECODED = 0x00000002
 Private group was decoded successfully and is ready to be joined to. More...
 
static const int32 GROUPS_GROUP_ADDED = 0x00000004
 New group was added to local list. More...
 
static const int32 GROUPS_GROUP_REMOVED = 0x00000008
 Group was removed from local list. More...
 
static const int32 GROUPS_SYNCED_WITH_SERVER = 0x00000020
 Is fired once when platform finishes syncing the list of groups with server.
 
GROUP events.

Events broadcasted by LISTENER_GROUP.

static const int32 GROUP_INVALID_CODE = 0x00000001
 Invalid group code was specified. More...
 
static const int32 GROUP_INVITE_CREATED = 0x00000002
 One of group invites was created on server and is ready to be sent. More...
 
static const int32 GROUP_INVITE_SENT = 0x00000004
 Group invite was created and sent to recipient. More...
 
static const int32 GROUP_INVITE_FAILED = 0x00000008
 For some reason invite delivery has failed. More...
 
static const int32 GROUP_MEMBER_ADDED = 0x00000010
 New group member was added. More...
 
static const int32 GROUP_MEMBER_REMOVED = 0x00000020
 Group member was removed. More...
 
static const int32 GROUP_ORDER_CHANGED = 0x00000040
 The order of group member list was changed. More...
 
static const int32 GROUP_FIRST_VIEWED = 0x00000100
 Group has been viewed for the first time. More...
 
static const int32 GROUP_MEMBER_TICKET_CHANGED = 0x00000200
 Group member is now sharing new ticket with a group. More...
 
static const int32 GROUP_MEMBER_TICKET_RESIGNING = 0x00000400
 Group member has stopped sharing the current ticket with the group. More...
 
static const int32 GROUP_FAILED = 0x00040000
 Group related error has occurred. More...
 
static const int32 GROUP_NAME_CHANGED = 0x00080000
 Indicates that Group name was changed. More...
 
static const int32 GROUP_CREATED = 0x00100000
 Indicates that group was created or successfully or user joined the group successfully. More...
 
Config events.

Events broadcasted by LISTENER_CONFIG.

static const int32 CONFIG_XOA_CHANGED = 0x00000001
 
static const int32 CONFIG_LOCATION_SHARING_CHANGED = 0x00000002
 
static const int32 CONFIG_TICKET_SENT_CHANGED = 0x00000004
 
static const int32 CONFIG_ACCOUNTS_LINKED_CHANGED = 0x00000008
 
static const int32 CONFIG_CHANGED
 
Handoff events.

Events broadcasted by LISTENER_HANDOFF.

static const int32 HANDOFF_PROVIDER_CONNECTED = 0x00000001
 The event is fired when handoff provider is recognized by the platform. More...
 
static const int32 HANDOFF_PROVIDER_AVAILABLE = 0x00000002
 The event is fired shortly after platform becomes active if handoff provider is currently connected. More...
 
static const int32 HANDOFF_PROVIDER_DISCONNECTED = 0x00000004
 The event is fired when handoff provider becomes unavailable.
 
Custom Listener Identifiers

Each class implementing IEventSink is associated with unique identifier, which is passed to IEventListener::eventsOccurred() in listener argument.

This way event subscriber has a chance to demultiplex events coming from various sources (broadcasters).

Listener identifier is represented by 32-bit integer value.

Host application is only allowed to allocate identifiers from the following interval (LISTENER_ID_MIN, LISTENER_ID_MAX].

static const int32 LISTENER_ID_MIN = 0x7fff0000
 Minimum value that can be used as custom listener identifier.
 
static const int32 LISTENER_ID_MAX = 0x7fffffff
 Maximum value that can be used as custom listener identifier.
 
Linked accounts events.

Events broadcasted by LISTENER_LINKED_ACCOUNTS.

static const int32 ACCOUNT_LINK_SUCCEEDED = 0x00000001
 The event is fired when an account is successfully linked with the user account. More...
 
static const int32 ACCOUNT_LINK_FAILED = 0x00000002
 The event is fired when an account fails to link with the user account. More...
 
static const int32 ACCOUNT_UNLINK_SUCCEEDED = 0x00000004
 The event is fired when an account is successfully unlinked from the user account. More...
 
static const int32 ACCOUNT_UNLINK_FAILED = 0x00000008
 The event is fired when an account fails to unlink from the user account. More...
 
static const int32 ACCOUNT_REFRESH_SUCCEEDED = 0x00000010
 The event is fired when an account is successfully refreshed in the user account. More...
 
static const int32 ACCOUNT_REFRESH_FAILED = 0x00000020
 The event is fired when an account fails to refresh in the user account. More...
 
static const int32 ACCOUNT_LIST_REFRESH_SUCCEEDED = 0x00000040
 The event is fired when the list of linked accounts is successfully refreshed. More...
 
static const int32 ACCOUNT_LIST_REFRESH_FAILED = 0x00000080
 The event is fired when the list of linked accounts fails to refresh. More...
 
Confirmation code events.

Events broadcasted by LISTENER_CONFIRMATION_CODE.

static const int32 CONFIRMATION_CODE_SENT = 0x00000001
 The event is fired if confirmation code is successuffy generated and sent. More...
 
static const int32 CONFIRMATION_CODE_FAILED = 0x00000002
 The event is fired when server fails to generate or send confirmation code. More...
 
Applications manager events.

Events broadcasted by LISTENER_APPLICATIONS.

static const int32 APPLICATIONS_APP_ADDED = 0x00000001
 The event is fired when new application is added to the list. More...
 
static const int32 APPLICATIONS_APP_REMOVED = 0x00000002
 The event is fired when application is removed from the list. More...
 
static const int32 APPLICATIONS_APP_CHANGED = 0x00000004
 The event is fired when application is removed from the list. More...
 
static const int32 APPLICATIONS_APP_LAUNCHED = 0x00000008
 The event is fired when application is being lunched. More...
 
Triggers manager events.

Events broadcasted by LISTENER_TRIGGERS.

static const int32 TRIGGERS_TRIGGER_ADDED = 0x00000001
 The event is fired when trigger is added. More...
 
static const int32 TRIGGERS_TRIGGER_REMOVED = 0x00000002
 The event is fired when trigger is removed. More...
 
static const int32 TRIGGERS_TRIGGER_ACTIVATED = 0x00000004
 The event is fired when trigger is activated. More...
 
Pairing manager events.

Events broadcasted by LISTENER_PAIRING.

static const int32 PAIRING_CODE_CLAIMED = 0x00000001
 The event is fired after a pairing code was submittd and accepted. More...
 
static const int32 PAIRING_CODE_FAILED = 0x00000002
 The event is fired after a pairing code was submitted but there was an error. More...
 
static const int32 PAIRING_GET_CODE_SUCCEEDED = 0x00000004
 The event is fired after a request for pairing code was submittd and accepted. More...
 
static const int32 PAIRING_GET_CODE_FAILED = 0x00000008
 The event is fired after a request for a pairing code was submitted but there was an error. More...
 
Place search events.

Events broadcasted by LISTENER_PLACE_SEARCH.

static const int32 PLACE_SEARCH_COMPLETED = 0x00000001
 The event fires upon the completion of search request. More...
 
static const int32 PLACE_SEARCH_FAILED = 0x00000002
 The event is fired if search request fails. More...
 
Favorites manager events.

Events broadcasted by LISTENER_FAVORITES.

static const int32 FAVORITES_CHANGED = 0x00000001
 The event is fired if the list of favorites has changed. More...
 
Directions events.

Events broadcasted by LISTENER_DIRECTIONS.

static const int32 DIRECTIONS_SUCCEEDED = 0x00000001
 The event is fired if the directions have succeeded. More...
 
static const int32 DIRECTIONS_FAILED = 0x00000002
 The event is fired if the directions have failed. More...
 
static const int32 DIRECTIONS_CHANGED
 The event is fired if the directions have changed. More...
 
CardManager manager events.

Events broadcasted by LISTENER_CARDS.

static const int32 CARD_MANAGER_CARD_ADDED = 0x00000002
 This event is sent when a card has been added. More...
 
static const int32 CARD_MANAGER_CARD_REMOVED = 0x00000004
 This event is sent when a card has been removed. More...
 
static const int32 CARD_MANAGER_SYNCED = 0x00000008
 This event is sent when the card manager has synced with the server after being started. More...
 
static const int32 CARD_MANAGER_SYNC_FAILED = 0x00000010
 This event is sent when the card manager fails to sync its state with the server. More...
 
static const int32 CARD_MANAGER_CARD_TYPES_UPDATED = 0x00000020
 This event is sent when the card types have been updated. More...
 
Card events.

Events broadcasted by LISTENER_CARD.

static const int32 CARD_STATE_CHANGED = 0x00000001
 This event is sent when a card state changes. More...
 
static const int32 CARD_NAME_UPDATED = 0x00000008
 This event is sent when a card name has been updated. More...
 
static const int32 CARD_MEMBER_ADDED = 0x00000020
 This event is fired when member is added to the card. More...
 
static const int32 CARD_MEMBER_REMOVED = 0x00000040
 This event is fired when member is removed from the card. More...
 
static const int32 CARD_INVITE_ADDED = 0x00000080
 This event is sent when a card invite has been added to a card. More...
 
static const int32 CARD_INVITE_REMOVED = 0x00000100
 This event is sent when a card invite has been removed. More...
 
static const int32 CARD_OBJECT_ADDED = 0x00000200
 This event is fired when an object is added to the card. More...
 
static const int32 CARD_OBJECT_REMOVED = 0x00000400
 This event is fired when an object is removed from the card. More...
 
static const int32 CARD_OBJECT_UPDATED = 0x00000800
 This event is fired when an object associated with this card is updated. More...
 
static const int32 CARD_OBJECT_REMOVAL_FAILED = 0x00001000
 This event is fired when an object failed to be removed from the card. More...
 
static const int32 CARD_MEMBER_DELETE_FAILED = 0x00002000
 This event is sent when platform fails to delete a member. More...
 
static const int32 CARD_REQUEST_FAILED = 0x00004000
 This event is fired when request to join a card fails to get accepted. More...
 
CardActivity events.

Events broadcasted by LISTENER_CARD_ACTIVITY.

static const int32 CARD_ACTIVITY_CHANGED = 0x00000001
 This event is sent when a card activity has changed. More...
 
static const int32 CARD_ACTIVITY_SYNCED = 0x00000002
 This event is sent when a card activity has completed the initial sync with the server. More...
 
static const int32 CARD_EVENT_CREATED = 0x00000004
 This event is sent when an event has been succesfully added to a card's activity. More...
 
static const int32 CARD_EVENT_CREATE_FAILED = 0x00000008
 This event is sent when an event fails to be created in a card's activity.
 
CardMember events.

Events broadcasted by LISTENER_CARD_MEMBER.

static const int32 CARD_MEMBER_STARTED_SHARING = 0x00000001
 This event is sent when a card member started sharing. More...
 
static const int32 CARD_MEMBER_STOPPED_SHARING = 0x00000002
 This event is sent when a card member has stopped sharing. More...
 
static const int32 CARD_MEMBER_TICKET_DECODED = 0x00000004
 This event is sent when card member's ticket is initialized. More...
 
static const int32 CARD_MEMBER_STARTED_REQUESTING = 0x00000010
 This event is sent when a card member has started a request. More...
 
static const int32 CARD_MEMBER_STOPPED_REQUESTING = 0x00000020
 This event is sent when a card member has stopped requesting. More...
 
static const int32 CARD_MEMBER_REQUEST_DECODED = 0x00000040
 This event is sent when card member's request is initialized. More...
 
static const int32 CARD_MEMBER_REQUEST_DECLINED = 0x00000080
 This event is sent when card member declines someoneelse's request. More...
 
static const int32 CARD_MEMBER_STATE_CHANGED = 0x00000100
 This event is sent when a card member state has changed. More...
 
CardInvite events.

Events broadcasted by LISTENER_CARD_INVITE.

static const int32 CARD_INVITE_CREATED = 0x00000001
 This event is sent when a card invite has been created. More...
 
static const int32 CARD_INVITE_SENT = 0x00000002
 This event is sent when a card invite has been sent. More...
 
static const int32 CARD_INVITE_FAILED = 0x00000004
 This event is sent when a card invite send has failed. More...
 
POI events.

Events broadcasted by LISTENER_POIS.

static const int32 POI_LIST_SYNCED = 0x00000001
 The event is fired when the list of POIs has been synced with the server.
 
static const int32 POI_ADDED = 0x00000002
 The event is fired when has been added to the list. More...
 
static const int32 POI_UPDATED = 0x00000004
 The event is fired when a POI has been updated. More...
 
static const int32 POI_REMOVED = 0x00000008
 The event is fired when a POI has been removed from the list. More...
 
Invite viewers events.

Events broadcasted by LISTENER_INVITE_VIEWERS.

static const int32 INVITE_VIEWERS_ADDED = 0x00000001
 The event is fired when new invite viewer is added. More...
 
static const int32 INVITE_VIEWERS_REMOVED = 0x00000002
 The event is fired when new invite viewer is removed. More...
 
static const int32 INVITE_VIEWERS_CLEARED = 0x00000004
 The event is fired when the collection of invite viewers is cleared. More...
 

Detailed Description

Declares the list of event broadcasters and all supported events.

Member Data Documentation

const int32 Glympse::GlympseEvents::ACCOUNT_LINK_FAILED = 0x00000002
static

The event is fired when an account fails to link with the user account.

Parameters
accountObject of ILinkedAccount type. Check getError() for error details.
const int32 Glympse::GlympseEvents::ACCOUNT_LINK_SUCCEEDED = 0x00000001
static

The event is fired when an account is successfully linked with the user account.

Parameters
accountObject of ILinkedAccount type.
const int32 Glympse::GlympseEvents::ACCOUNT_LIST_REFRESH_FAILED = 0x00000080
static

The event is fired when the list of linked accounts fails to refresh.

Parameters
errorObject of IServerError type.
const int32 Glympse::GlympseEvents::ACCOUNT_LIST_REFRESH_SUCCEEDED = 0x00000040
static

The event is fired when the list of linked accounts is successfully refreshed.

Parameters
NULL
const int32 Glympse::GlympseEvents::ACCOUNT_REFRESH_FAILED = 0x00000020
static

The event is fired when an account fails to refresh in the user account.

Parameters
accountObject of ILinkedAccount type. Check getError() for error details.
Note
The object returned by getError() is only valid for the duration of the event handler. If it is necessary to retain the object beyond that lifetime, cache a reference to the error object in the event handler.
const int32 Glympse::GlympseEvents::ACCOUNT_REFRESH_SUCCEEDED = 0x00000010
static

The event is fired when an account is successfully refreshed in the user account.

Parameters
accountObject of ILinkedAccount type.
const int32 Glympse::GlympseEvents::ACCOUNT_UNLINK_FAILED = 0x00000008
static

The event is fired when an account fails to unlink from the user account.

Parameters
accountObject of ILinkedAccount type. Check getError() for error details.
const int32 Glympse::GlympseEvents::ACCOUNT_UNLINK_SUCCEEDED = 0x00000004
static

The event is fired when an account is successfully unlinked from the user account.

Parameters
accountObject of ILinkedAccount type.
const int32 Glympse::GlympseEvents::APPLICATIONS_APP_ADDED = 0x00000001
static

The event is fired when new application is added to the list.

Parameters
errorObject of IApplication type.
const int32 Glympse::GlympseEvents::APPLICATIONS_APP_CHANGED = 0x00000004
static

The event is fired when application is removed from the list.

Parameters
errorObject of IApplication type.
const int32 Glympse::GlympseEvents::APPLICATIONS_APP_LAUNCHED = 0x00000008
static

The event is fired when application is being lunched.

Parameters
errorObject of IApplication type.
const int32 Glympse::GlympseEvents::APPLICATIONS_APP_REMOVED = 0x00000002
static

The event is fired when application is removed from the list.

Parameters
errorObject of IApplication type.
const int32 Glympse::GlympseEvents::CARD_ACTIVITY_CHANGED = 0x00000001
static

This event is sent when a card activity has changed.

Parameters
objObject of ICardActivity type.
const int32 Glympse::GlympseEvents::CARD_ACTIVITY_SYNCED = 0x00000002
static

This event is sent when a card activity has completed the initial sync with the server.

Parameters
objObject of ICardActivity type.
const int32 Glympse::GlympseEvents::CARD_EVENT_CREATED = 0x00000004
static

This event is sent when an event has been succesfully added to a card's activity.

Parameters
objObject of GCardEvent type
const int32 Glympse::GlympseEvents::CARD_INVITE_ADDED = 0x00000080
static

This event is sent when a card invite has been added to a card.

Parameters
objObject of ICardInvite type.
const int32 Glympse::GlympseEvents::CARD_INVITE_CREATED = 0x00000001
static

This event is sent when a card invite has been created.

Parameters
objObject of ICardInvite type.
const int32 Glympse::GlympseEvents::CARD_INVITE_FAILED = 0x00000004
static

This event is sent when a card invite send has failed.

Parameters
objObject of ICardInvite type.
const int32 Glympse::GlympseEvents::CARD_INVITE_REMOVED = 0x00000100
static

This event is sent when a card invite has been removed.

Parameters
objObject of ICardInvite type.
const int32 Glympse::GlympseEvents::CARD_INVITE_SENT = 0x00000002
static

This event is sent when a card invite has been sent.

Parameters
objObject of ICardInvite type.
const int32 Glympse::GlympseEvents::CARD_MANAGER_CARD_ADDED = 0x00000002
static

This event is sent when a card has been added.

Parameters
objObject of ICard type.
const int32 Glympse::GlympseEvents::CARD_MANAGER_CARD_REMOVED = 0x00000004
static

This event is sent when a card has been removed.

Parameters
objObject of ICard type.
const int32 Glympse::GlympseEvents::CARD_MANAGER_CARD_TYPES_UPDATED = 0x00000020
static

This event is sent when the card types have been updated.

Parameters
None.
const int32 Glympse::GlympseEvents::CARD_MANAGER_SYNC_FAILED = 0x00000010
static

This event is sent when the card manager fails to sync its state with the server.

Parameters
None.
const int32 Glympse::GlympseEvents::CARD_MANAGER_SYNCED = 0x00000008
static

This event is sent when the card manager has synced with the server after being started.

Parameters
None.
const int32 Glympse::GlympseEvents::CARD_MEMBER_ADDED = 0x00000020
static

This event is fired when member is added to the card.

Parameters
objObject of ICardManager type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_DELETE_FAILED = 0x00002000
static

This event is sent when platform fails to delete a member.

In this case member remains on the list.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_REMOVED = 0x00000040
static

This event is fired when member is removed from the card.

Parameters
objObject of ICardManager type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_REQUEST_DECLINED = 0x00000080
static

This event is sent when card member declines someoneelse's request.

The event is only fired if declied request is still active at the time event is analyzed.

Parameters
objObject of ICardMemberTicket type. ICardMemberTicket::getCardMember() points at card member declining a request. ICardMemberTicket::getCardTicket() points at request being declined.
const int32 Glympse::GlympseEvents::CARD_MEMBER_REQUEST_DECODED = 0x00000040
static

This event is sent when card member's request is initialized.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_STARTED_REQUESTING = 0x00000010
static

This event is sent when a card member has started a request.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_STARTED_SHARING = 0x00000001
static

This event is sent when a card member started sharing.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_STATE_CHANGED = 0x00000100
static

This event is sent when a card member state has changed.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_STOPPED_REQUESTING = 0x00000020
static

This event is sent when a card member has stopped requesting.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_STOPPED_SHARING = 0x00000002
static

This event is sent when a card member has stopped sharing.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_MEMBER_TICKET_DECODED = 0x00000004
static

This event is sent when card member's ticket is initialized.

Parameters
objObject of ICardMember type.
const int32 Glympse::GlympseEvents::CARD_NAME_UPDATED = 0x00000008
static

This event is sent when a card name has been updated.

Parameters
objObject of ICard type.
const int32 Glympse::GlympseEvents::CARD_OBJECT_ADDED = 0x00000200
static

This event is fired when an object is added to the card.

Parameters
objObject of ICardObject type.
const int32 Glympse::GlympseEvents::CARD_OBJECT_REMOVAL_FAILED = 0x00001000
static

This event is fired when an object failed to be removed from the card.

Parameters
objObject of ICardObject type.
const int32 Glympse::GlympseEvents::CARD_OBJECT_REMOVED = 0x00000400
static

This event is fired when an object is removed from the card.

Parameters
objObject of ICardObject type.
const int32 Glympse::GlympseEvents::CARD_OBJECT_UPDATED = 0x00000800
static

This event is fired when an object associated with this card is updated.

Parameters
objObject of ICardObject type.
const int32 Glympse::GlympseEvents::CARD_REQUEST_FAILED = 0x00004000
static

This event is fired when request to join a card fails to get accepted.

This can occur if request is revoked in between being received and accepted.

Parameters
objObject of ICardInvite type.
const int32 Glympse::GlympseEvents::CARD_STATE_CHANGED = 0x00000001
static

This event is sent when a card state changes.

Parameters
objObject of ICard type.
const int32 Glympse::GlympseEvents::CONFIG_CHANGED
static
Initial value:
= CONFIG_XOA_CHANGED
| CONFIG_LOCATION_SHARING_CHANGED
| CONFIG_TICKET_SENT_CHANGED
| CONFIG_ACCOUNTS_LINKED_CHANGED
const int32 Glympse::GlympseEvents::CONFIRMATION_CODE_FAILED = 0x00000002
static

The event is fired when server fails to generate or send confirmation code.

Parameters
accountObject of IServerError type.
const int32 Glympse::GlympseEvents::CONFIRMATION_CODE_SENT = 0x00000001
static

The event is fired if confirmation code is successuffy generated and sent.

Parameters
accountObject of GPrimitive type.
const int32 Glympse::GlympseEvents::DIRECTIONS_CHANGED
static
Initial value:

The event is fired if the directions have changed.

Parameters
None.
const int32 Glympse::GlympseEvents::DIRECTIONS_FAILED = 0x00000002
static

The event is fired if the directions have failed.

Parameters
None.
const int32 Glympse::GlympseEvents::DIRECTIONS_SUCCEEDED = 0x00000001
static

The event is fired if the directions have succeeded.

Parameters
None.
const int32 Glympse::GlympseEvents::FAVORITES_CHANGED = 0x00000001
static

The event is fired if the list of favorites has changed.

Parameters
None.
const int32 Glympse::GlympseEvents::GROUP_CREATED = 0x00100000
static

Indicates that group was created or successfully or user joined the group successfully.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_FAILED = 0x00040000
static

Group related error has occurred.

More details counld be obtained from IGroup::getState().

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_FIRST_VIEWED = 0x00000100
static

Group has been viewed for the first time.

Parameters
groupObject of IGroup type.
memberObject of IGroupMember type.
const int32 Glympse::GlympseEvents::GROUP_INVALID_CODE = 0x00000001
static

Invalid group code was specified.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_INVITE_CREATED = 0x00000002
static

One of group invites was created on server and is ready to be sent.

This event is fired only, if client is responsible for sending and invite.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_INVITE_FAILED = 0x00000008
static

For some reason invite delivery has failed.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_INVITE_SENT = 0x00000004
static

Group invite was created and sent to recipient.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_MEMBER_ADDED = 0x00000010
static

New group member was added.

Parameters
groupObject of IGroup type.
memberObject of IGroupMember type.
const int32 Glympse::GlympseEvents::GROUP_MEMBER_REMOVED = 0x00000020
static

Group member was removed.

Parameters
groupObject of IGroup type.
memberObject of IGroupMember type.
const int32 Glympse::GlympseEvents::GROUP_MEMBER_TICKET_CHANGED = 0x00000200
static

Group member is now sharing new ticket with a group.

Parameters
groupObject of IGroup type.
memberObject of IGroupMember type.
const int32 Glympse::GlympseEvents::GROUP_MEMBER_TICKET_RESIGNING = 0x00000400
static

Group member has stopped sharing the current ticket with the group.

Parameters
groupObject of IGroup type.
memberObject of IGroupMember type.
const int32 Glympse::GlympseEvents::GROUP_NAME_CHANGED = 0x00080000
static

Indicates that Group name was changed.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUP_ORDER_CHANGED = 0x00000040
static

The order of group member list was changed.

Parameters
groupObject of IGroup type.
const int32 Glympse::GlympseEvents::GROUPS_DECODED = 0x00000002
static

Private group was decoded successfully and is ready to be joined to.

The event is fired for each group separately.

Parameters
groupObject of GGroup type.
const int32 Glympse::GlympseEvents::GROUPS_GROUP_ADDED = 0x00000004
static

New group was added to local list.

Parameters
groupObject of GGroup type.
const int32 Glympse::GlympseEvents::GROUPS_GROUP_REMOVED = 0x00000008
static

Group was removed from local list.

Parameters
groupObject of GGroup type.
const int32 Glympse::GlympseEvents::GROUPS_INVITE = 0x00000001
static

Invite to start following public group was received and handled by the platform.

Parameters
groupInviteObject of GGroupInvite type.
const int32 Glympse::GlympseEvents::HANDOFF_PROVIDER_AVAILABLE = 0x00000002
static

The event is fired shortly after platform becomes active if handoff provider is currently connected.

Parameters
providerObject of IHandoffProvider type.
See Also
IHandoffProvider
const int32 Glympse::GlympseEvents::HANDOFF_PROVIDER_CONNECTED = 0x00000001
static

The event is fired when handoff provider is recognized by the platform.

Parameters
providerObject of IHandoffProvider type.
See Also
IHandoffManager::getHandoffProvider
const int32 Glympse::GlympseEvents::INVITE_DECODED = 0x00000001
static

The event is fired, when specified invite code is decoded successfully.

Parameters
codeInvite code of IString type.
const int32 Glympse::GlympseEvents::INVITE_INVALID_CODE = 0x00000002
static

The event is fired, when specified invite code occurs to be invalid.

Parameters
codeInvite code of IString type.
const int32 Glympse::GlympseEvents::INVITE_VIEWERS_ADDED = 0x00000001
static

The event is fired when new invite viewer is added.

Parameters
viewerObject of IInviteViewer type.
const int32 Glympse::GlympseEvents::INVITE_VIEWERS_CLEARED = 0x00000004
static

The event is fired when the collection of invite viewers is cleared.

Parameters
None.
const int32 Glympse::GlympseEvents::INVITE_VIEWERS_REMOVED = 0x00000002
static

The event is fired when new invite viewer is removed.

Parameters
viewerObject of IInviteViewer type.
const int32 Glympse::GlympseEvents::LISTENER_APPLICATIONS = 14
static

Applications manager events.

Use IApplicationsManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_BATTERY = 6
static

Battary manager events.

Use IBatteryManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_CARD = 22
static

CardManager events.

Use ICard event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_CARD_ACTIVITY = 23
static

CardActivity events.

Use ICardActivity event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_CARD_INVITE = 25
static

CardInvite events.

Use ICardInvite event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_CARD_MEMBER = 24
static

CardMember events.

Use ICardMember event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_CARDS = 21
static

CardManager events.

Use ICardManager event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_CONFIG = 11
static

Config events.

Use IConfig event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_CONFIRMATION_CODE = 20
static

Confirnation code events.

Events are fired when application is requesting cinfirmation code to be sent out.

const int32 Glympse::GlympseEvents::LISTENER_DIRECTIONS = 19
static

Directions events.

Use IDirections event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_FAVORITES = 18
static

Favorites events.

Use IFavoritesManager event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_GROUP = 10
static

Group events.

Use IGroup event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_GROUPS = 9
static

Group manager events.

Use IGroupManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_HANDOFF = 12
static

Handoff events.

Use IHandoffManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_IMAGE = 7
static

Image events.

Use IImage event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_INVITE_VIEWERS = 30
static

Invite viewers events.

Use IInviteViewers event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_LINKED_ACCOUNTS = 13
static

Linked account events.

Use ILinkedAccountsManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_LOCATION = 8
static

Location manager events.

Use ILocationManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_NETWORK = 5
static

Network manager events.

Use INetworkManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_PAIRING = 17
static

Pairing events.

Use IPairingManager event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_PLACE_SEARCH = 16
static

Place search events.

Use IPlaceSearchEngine event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_PLATFORM = 1
static

Platform events.

Use IGlympse event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_POIS = 26
static

PoiManager events.

Use IPoiManager event sink to subscribe to these events.

const int32 Glympse::GlympseEvents::LISTENER_TICKET = 4
static

Ticket events.

Use ITicket event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_TRIGGERS = 15
static

Triggers manager events.

Use ITriggersManager event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LISTENER_USER = 3
static

User events.

Use IUser event sink to subscribe on these events.

const int32 Glympse::GlympseEvents::LOCATION_PROFILE_CHANGED = 0x00000100
static

The event accompanies one of battery saving techniques provided by the library.

See "Leveraging Location Profiles" section in the Programming Guide.

const int32 Glympse::GlympseEvents::LOCATION_PROVIDER_STOPPED = 0x00000200
static

The event is spread, when underlying location provider is stopped.

It means that all outgoing tickets have expired and location updates are lo longer required.

const int32 Glympse::GlympseEvents::LOCATION_STATE_CHANGED = 0x00000001
static

The event is fired, when location manager state changes.

See "Customizing Location Provider" section in the Programming Guide and CC::LOCATION_STATE_* constants for more details.

const int32 Glympse::GlympseEvents::NETWORK_IS_PREPARING_REQUEST = 0x00000020
static

The event is fired in process of preparing network post to let others contribute to it.

It is followed by GE::NETWORK_IS_SENDING_REQUEST if platform collects enough info to make the post.

const int32 Glympse::GlympseEvents::NETWORK_IS_SENDING_REQUEST = 0x00000040
static

The event is sent every time, when Client API does final preparations before issueing next network request.

Event handlers still have a chance to append commands to the batch, that API is preparing to issue.

See Programming Guide for more details.

const int32 Glympse::GlympseEvents::NETWORK_RESPONSE_RECEIVED = 0x00000100
static

The event is fired when network manager is done executing request previously scheduled via INetworkManager::issueHttpRequest().

Parameters
responseObject of GPrimitive type.
const int32 Glympse::GlympseEvents::NETWORK_START_FAILING = 0x00000001
static

This notification is spread right after the first network failure.

The message is not sent upin subsequent failures.

const int32 Glympse::GlympseEvents::NETWORK_WILL_SEND_REQUEST = 0x00000010
static

This notification is sent, when Network Manager schedules next request.

Parameters
delayObject of ILong type.
const int32 Glympse::GlympseEvents::PAIRING_CODE_CLAIMED = 0x00000001
static

The event is fired after a pairing code was submittd and accepted.

Parameters
codePairing code stored in GString.
const int32 Glympse::GlympseEvents::PAIRING_CODE_FAILED = 0x00000002
static

The event is fired after a pairing code was submitted but there was an error.

Parameters
ServerErrorwith error details and code stored in the extra parameter.
const int32 Glympse::GlympseEvents::PAIRING_GET_CODE_FAILED = 0x00000008
static

The event is fired after a request for a pairing code was submitted but there was an error.

Parameters
ServerErrorwith error details.
const int32 Glympse::GlympseEvents::PAIRING_GET_CODE_SUCCEEDED = 0x00000004
static

The event is fired after a request for pairing code was submittd and accepted.

Parameters
codePairing code stored in GString.
const int32 Glympse::GlympseEvents::PLACE_SEARCH_COMPLETED = 0x00000001
static

The event fires upon the completion of search request.

Parameters
errorObject of IPlaceSearchResults type.
const int32 Glympse::GlympseEvents::PLACE_SEARCH_FAILED = 0x00000002
static

The event is fired if search request fails.

Parameters
errorObject of IPlaceSearchRequest type.
const int32 Glympse::GlympseEvents::PLATFORM_ACCOUNT_CREATE_FAILED = 0x00000004
static

This event is broadcast when no local account exists, but the platform fails to create a new account on the server.

This error is fatal and the platform will be stopped automatically and cannot be restarted.

const int32 Glympse::GlympseEvents::PLATFORM_ACCOUNT_CREATED = 0x00000002
static

This event is broadcast when the platform creates a new account on the server.

Once created, accounts are persisted until either the application is uninstalled or until GGlympse::logout() is explicitly invoked.

const int32 Glympse::GlympseEvents::PLATFORM_CARD_INVITE = 0x10000000
static

The event is fired if invite to join a card is decoded.

Parameters
Anobject of GCard type in GC::CARD_STATE_PREVIEW state.
const int32 Glympse::GlympseEvents::PLATFORM_CARD_REQUEST = 0x20000000
static

The event is fired if request to join a card is decoded.

Parameters
Anobject of GCardInvite type.
const int32 Glympse::GlympseEvents::PLATFORM_FIRST_LAUNCH = 0x01000000
static

This event is broadcast when the platform is started if, and only if, this is the FIRST time that the platform has been started.

Note that due to the criteria used to detect this condition, all calls to IGlympse::logout() will cause this event to be fired the next time that a platform instance is started.

const int32 Glympse::GlympseEvents::PLATFORM_LOGIN_FAILED = 0x00000020
static

This event is broadcast when local account credentials are unable to be exchanged for a valid access token, but for an unknown reason.

This error is fatal and the platform will be stopped automatically and cannot be restarted.

const int32 Glympse::GlympseEvents::PLATFORM_RATE_LIMITED = 0x02000000
static

This event is fired, when server rate limits access to API for certain device or API key.

Sandbox is the only environment, which is rate limited. The following rules are applied, when developing against sandbox:

  • Maximum of 30 requests per 60 seconds are allowed per device;
  • Maximum of 20 devices are allowed per API key.

API does not handle this case in any way other than spreading the event. Requests that are rate limited are not retried.

const int32 Glympse::GlympseEvents::PLATFORM_SESSION_FAILED = 0x00000040
static

This event is broadcast when a network connection fails due to an expired access token.

The platform will automatically re-attempt authentication to retrieve a new, valid access token.

const int32 Glympse::GlympseEvents::PLATFORM_STATE_CHANGED = 0x04000000
static

The event is fired when platform state changes between forground and background.

Application alters platform state through IGlympse::setActive() method.

const int32 Glympse::GlympseEvents::PLATFORM_TICKET_LIST_CHANGED
static
Initial value:
= PLATFORM_TICKET_ADDED
| PLATFORM_TICKET_REMOVED
| PLATFORM_TICKET_LIST_REORDERED
| PLATFORM_TICKET_CHANGED
| PLATFORM_TICKET_ARRIVED
const int32 Glympse::GlympseEvents::PLATFORM_USER_LIST_CHANGED
static
Initial value:
= PLATFORM_USER_ADDED
| PLATFORM_USER_REMOVED
| PLATFORM_USER_LIST_REORDERED
| PLATFORM_LOCATION
| PLATFORM_USER_CHANGED
const int32 Glympse::GlympseEvents::POI_ADDED = 0x00000002
static

The event is fired when has been added to the list.

Parameters
poiObject of IPoi type.
const int32 Glympse::GlympseEvents::POI_REMOVED = 0x00000008
static

The event is fired when a POI has been removed from the list.

Parameters
poiObject of IPoi type.
const int32 Glympse::GlympseEvents::POI_UPDATED = 0x00000004
static

The event is fired when a POI has been updated.

Parameters
poiObject of IPoi type.
const int32 Glympse::GlympseEvents::TICKET_CHANGED
static
Initial value:
| TICKET_DURATION_CHANGED
| TICKET_MESSAGE_CHANGED
| TICKET_DESTINATION_CHANGED
| TICKET_TRACK_CHANGED
| TICKET_ETA_CHANGED
| TICKET_ROUTE_CHANGED
| TICKET_TRAVEL_MODE_CHANGED
| TICKET_INVITE_CHANGED
| TICKET_VISIBILITY_CHANGED
| TICKET_FAILED
const int32 Glympse::GlympseEvents::TICKET_COMPLETED = 0x04000000
static

This event is sent, when ticket is considered to become immutable (meaning none of ticket properties can change since after this point).

Parameters
dataObject of ITicket type.
const int32 Glympse::GlympseEvents::TICKET_CREATED = 0x00000001
static

The event indicates that outgoing ticket has been successfully created.

At this point initial ticket properties (message, destination) are not associated with ticket object on server and ticket invites are not sent yet. Even invite codes are not assigned yet.

const int32 Glympse::GlympseEvents::TICKET_DATA_APPENDED = 0x00400000
static

This event is sent, when any properties are appended to the ticket.

This is event is sent per ticket.

Parameters
dataObject of IDataEvent type.
const int32 Glympse::GlympseEvents::TICKET_DATA_CLEARED = 0x00800000
static

This event is sent, when any properties are cleared on the ticket.

This is event is sent per ticket.

Parameters
dataObject of IDataEvent type.
const int32 Glympse::GlympseEvents::TICKET_EXPIRED = 0x00000002
static

The event is sent, when ticket expires.

This may or may not happen right away depending on some external factors that are out of control for the API. Network connectivity issues may delay

const int32 Glympse::GlympseEvents::TICKET_INVITE_CHANGED
static
Initial value:
= TICKET_INVITE_CREATED
| TICKET_INVITE_SENT
| TICKET_INVITE_REMOVED
| TICKET_INVITE_FAILED
const int32 Glympse::GlympseEvents::TICKET_INVITE_UPDATED = 0x00004000
static

This event is fired periodically while any invites of the ticket are being watched.

The event is also fired at least once, when ticket is no longer watched.

See Also
ITicket::isSomeoneWatching()
Parameters
Objectof Ticket type.
const int32 Glympse::GlympseEvents::TICKET_NOT_TRANSFERRED = 0x02000000
static

This event is fired, when ticket ownership is not transferred for some reason.

Parameters
dataObject of ITicket type.
const int32 Glympse::GlympseEvents::TICKET_TRANSFERRED = 0x01000000
static

This event is fired, when ticket ownership changes.

See Also
ITicket::isMine()
Parameters
dataObject of ITicket type.
const int32 Glympse::GlympseEvents::TRIGGERS_TRIGGER_ACTIVATED = 0x00000004
static

The event is fired when trigger is activated.

Parameters
errorObject of ITrigger type.
const int32 Glympse::GlympseEvents::TRIGGERS_TRIGGER_ADDED = 0x00000001
static

The event is fired when trigger is added.

Parameters
errorObject of ITrigger type.
const int32 Glympse::GlympseEvents::TRIGGERS_TRIGGER_REMOVED = 0x00000002
static

The event is fired when trigger is removed.

Parameters
errorObject of ITrigger type.
const int32 Glympse::GlympseEvents::USER_ACTIVE_TICKET_CHANGED = 0x00000002
static

User's "most important" ticket has been changed.

Parameters
accountObject of IUser type.
const int32 Glympse::GlympseEvents::USER_ACTIVE_TICKET_RESIGNING = 0x00000040
static

The user's "most important" ticket is about to change.

This is only fired if the user currently has an active ticket.

Parameters
accountObject of IUser type.
const int32 Glympse::GlympseEvents::USER_AVATAR_NOT_UPLOADED = 0x00000020
static

Avatar was not uploaded for whatever reason (network failure, etc.).

Parameters
accountObject of IUser type.
const int32 Glympse::GlympseEvents::USER_AVATAR_UPLOADED = 0x00000010
static

Avatar upload operation completed successully.

Parameters
accountObject of IUser type.
const int32 Glympse::GlympseEvents::USER_CHANGED
static
Initial value:

A combination of flags indicating that something has changed about the user.

const int32 Glympse::GlympseEvents::USER_NICKNAME_CHANGED = 0x00000001
static

User nickname has been changed.

Parameters
accountObject of IUser type.
const int32 Glympse::GlympseEvents::USER_TICKET_ADDED = 0x00000004
static

New ticket has been added under the user.

Parameters
accountObject of ITicket type.
const int32 Glympse::GlympseEvents::USER_TICKET_REMOVED = 0x00000008
static

One of user's tickets has been removed.

Parameters
accountObject of ITicket type.

The documentation for this class was generated from the following file: