1-st time offer received by SDK from the server
OFFER'S NOTICE TYPE | WHEN NOTICE PRESSED | ||
---|---|---|---|
Active parent application | Inactive application | Screen off | |
GContext exists? Yes -> InApp HotButton SYSTEM_ALERT_WINDOW? Yes -> System HotButton SS-1081 ( To Do ) No -> Nothing | Nothing | Nothing | HotOffer screen displayed |
2-d, 3-d time, etc offer received and user allowed to show offer notice out of the parent app
setInvisibleAppAllowedHotType |
SYSTEM_ALERT_WINDOW | OFFER'S NOTICE TYPE | WHEN NOTICE PRESSED | ||
---|---|---|---|---|---|
Active parent application | Inactive application | Screen off | |||
SystemNotification | Forbidden | GContext exists? Yes -> InApp HotButton No -> DiscountNotification | DiscountNotification | http://электроскидка.рф/CODE displayed | |
Permitted | HotOffer screen displayed | ||||
SystemHotButton |
GContext? -> InApp HotButton | System HotButton | |||
Forbidden | Nothing | http://электроскидка.рф/CODE displayed | |||
AllForbidden | Any | ||||
AllAllowed (1-st, 2-d, etc) | Permitted | GContext exists? Yes -> InApp HotButton No -> System HotButton | System HotButton | HotOffer screen displayed | |
Forbidden | GContext exists? Yes -> InApp HotButton No -> DiscountNotification | DiscountNotification | http://электроскидка.рф/CODE displayed |
System Hotbutton: HotButton will appear on top of the desktop or any running application + Sound alert by MediaPlayer
InApp Hotbutton: HotButton will appear in the parent (your) application + Sound alert by MediaPlayer
DiscountNotification (Notification (RUS)): notification in system area about new offer + Sound alert by MediaPlayer ("Рядом скидка с гарантией!" / "BONUS% скидка на всё в PublicName (CLIENT:DESTINATION_TO метров), код CODE, действует до FinalTime."). Action: open http://электроскидка.рф/CODE
GContext (Graphical context): init was populated with graphic context & context is still graphic