Kvn Repository
This repository give access to KVN messages.
The KVN messages are provided by Observable for a given platform and should be shown to the user if effected.
Functions
Get all message user views, This Observable will emmit all the message id's saveMessageUserView has been called upon.
Get all KVN messages, This Observable will emmit all kvn messages when updated, use REFRESH strategy to fetch from server.
Get all KVN messages, This Observable will keep calling get kvn messages with REFRESH strategy on the given period interval.
This Observable emits if there is any new messages after getKvnMessages with a KvnLoadStrategy.REFRESH is called. Subscribing to this observable does not trigger any updates
This Observable emits if there is any messages removed after getKvnMessages with a KvnLoadStrategy.REFRESH is called. Subscribing to this observable does not trigger any updates
Log when a kvn message dialog have been interacted with, if user select subscribe or unsubscribe.
Log when a kvn message have been shown to a user.
User email or sms subscription for Kvn message notification. This sign the user up for getting a notification when a KVN message is resolved
User email or sms un-subscription for Kvn message notification. This remove the current subscription a user has requested for a given message id and email or phone number