@iterable/react-native-sdk
Version:
Iterable SDK for React Native.
30 lines (29 loc) • 1.31 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.IterableEventName = void 0;
/**
* Events that can be emitted by the Iterable SDK
*/
let IterableEventName = exports.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