@@ -59,7 +59,7 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
59
59
/* Notification is silent, or app is in focus but InAppAlertNotifications are disabled*/
60
60
OSNotificationDisplayTypeNone,
61
61
62
- /* Default UIAlertView display*/
62
+ /* Default UIAlertController display*/
63
63
OSNotificationDisplayTypeInAppAlert,
64
64
65
65
/* iOS native notification display*/
@@ -210,13 +210,18 @@ typedef NS_ENUM(NSUInteger, OSNotificationDisplayType) {
210
210
- (void )handleMessageAction : (OSInAppMessageAction * _Nonnull)action NS_SWIFT_NAME(handleMessageAction(action:));
211
211
@end
212
212
213
- /* OneSignal Session Types */
213
+ /* OneSignal Influence Types */
214
214
typedef NS_ENUM (NSUInteger , Session) {
215
215
DIRECT,
216
216
INDIRECT,
217
217
UNATTRIBUTED,
218
218
DISABLED
219
219
};
220
+ /* OneSignal Influence Channels */
221
+ typedef NS_ENUM (NSUInteger , OSInfluenceChannel) {
222
+ IN_APP_MESSAGE,
223
+ NOTIFICATION,
224
+ };
220
225
221
226
@interface OSOutcomeEvent : NSObject
222
227
@@ -352,7 +357,6 @@ typedef void (^OSHandleInAppMessageActionClickBlock)(OSInAppMessageAction* actio
352
357
/* Block for handling outcome event being sent successfully*/
353
358
typedef void (^OSSendOutcomeSuccess)(OSOutcomeEvent* outcome);
354
359
355
-
356
360
/* Dictionary of keys to pass alongside the init settings*/
357
361
358
362
/* Let OneSignal directly prompt for push notifications on init*/
0 commit comments