@iterable/react-native-sdk
Version:
Iterable SDK for React Native.
26 lines (25 loc) • 1.19 kB
JavaScript
;
/**
* Events that can be emitted by the Iterable SDK
*/
export let IterableEventName = /*#__PURE__*/function (IterableEventName) {
/** Event that fires when a URL is clicked */
IterableEventName["handleUrlCalled"] = "handleUrlCalled";
/** Event that fires when a custom action is called */
IterableEventName["handleCustomActionCalled"] = "handleCustomActionCalled";
/**
* TODO: Rename at some point
* Event that fires when an in-app message is shown
*/
IterableEventName["handleInAppCalled"] = "handleInAppCalled";
/** Event that fires when a user attempts to authenticate */
IterableEventName["handleAuthCalled"] = "handleAuthCalled";
/** Event that fires when the Iterable inbox is updated */
IterableEventName["receivedIterableInboxChanged"] = "receivedIterableInboxChanged";
/** Event that fires when authentication with Iterable succeeds */
IterableEventName["handleAuthSuccessCalled"] = "handleAuthSuccessCalled";
/** Event that fires when authentication with Iterable fails */
IterableEventName["handleAuthFailureCalled"] = "handleAuthFailureCalled";
return IterableEventName;
}({});
//# sourceMappingURL=IterableEventName.js.map