forked from Iterable/react-native-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIterableEventName.ts
More file actions
28 lines (28 loc) · 1.3 KB
/
IterableEventName.ts
File metadata and controls
28 lines (28 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
* Events that can be emitted by the Iterable SDK
*/
export enum IterableEventName {
/** Event that fires when a URL is clicked */
handleUrlCalled = 'handleUrlCalled',
/** Event that fires when a custom action is called */
handleCustomActionCalled = 'handleCustomActionCalled',
/**
* TODO: Rename at some point
* Event that fires when an in-app message is shown
*/
handleInAppCalled = 'handleInAppCalled',
/** Event that fires when a user attempts to authenticate */
handleAuthCalled = 'handleAuthCalled',
/** Event that fires when the Iterable inbox is updated */
receivedIterableInboxChanged = 'receivedIterableInboxChanged',
/** Event that fires when authentication with Iterable succeeds */
handleAuthSuccessCalled = 'handleAuthSuccessCalled',
/** Event that fires when authentication with Iterable fails */
handleAuthFailureCalled = 'handleAuthFailureCalled',
/** Event that fires when embedded messages are updated */
handleEmbeddedMessageUpdateCalled = 'handleEmbeddedMessageUpdateCalled',
/** Event that fires when embedded messaging is disabled */
handleEmbeddedMessagingDisabledCalled = 'handleEmbeddedMessagingDisabledCalled',
/** Event that fires when push token registration fails */
handleTokenRegistrationFailedCalled = 'handleTokenRegistrationFailedCalled',
}