File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
OneSignalSDK/onesignal/src/main/java/com/onesignal Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ public class OSInAppMessageAction {
17
17
private static final String ID = "id" ;
18
18
private static final String NAME = "name" ;
19
19
private static final String URL = "url" ;
20
+ private static final String PAGE_ID = "page_id" ;
20
21
private static final String URL_TARGET = "url_target" ;
21
22
private static final String CLOSE = "close" ;
22
23
private static final String CLICK_NAME = "click_name" ;
@@ -52,6 +53,12 @@ public class OSInAppMessageAction {
52
53
@ Nullable
53
54
private String clickUrl ;
54
55
56
+ /**
57
+ * UUID for the page in an IAM Carousel
58
+ */
59
+ @ Nullable
60
+ private String pageId ;
61
+
55
62
/**
56
63
* Outcome for action
57
64
*/
@@ -83,6 +90,7 @@ public class OSInAppMessageAction {
83
90
clickId = json .optString (ID , null );
84
91
clickName = json .optString (NAME , null );
85
92
clickUrl = json .optString (URL , null );
93
+ pageId = json .optString (PAGE_ID , null );
86
94
urlTarget = OSInAppMessageActionUrlType .fromString (json .optString (URL_TARGET , null ));
87
95
if (urlTarget == null )
88
96
urlTarget = OSInAppMessageActionUrlType .IN_APP_WEBVIEW ;
@@ -125,6 +133,11 @@ public String getClickName() {
125
133
return clickName ;
126
134
}
127
135
136
+ @ NonNull
137
+ String getPageId () {
138
+ return pageId ;
139
+ }
140
+
128
141
@ Nullable
129
142
public OSInAppMessageActionUrlType getUrlTarget () {
130
143
return urlTarget ;
You can’t perform that action at this time.
0 commit comments