UserSettingsManager

class UserSettingsManager(val identityApiManager: IdentityApiManager)

Constructors

Link copied to clipboard
fun UserSettingsManager(identityApiManager: IdentityApiManager)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addFavoriteArticle(newUuid: String, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun addFavoriteVideo(newUuid: String, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun addTopic(topicSubscription: TopicSubscription, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun clearAttributes(arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun getAttribute(key: String): ArcXPAttribute?
Link copied to clipboard
fun getFavoriteArticles(): List<String>
Link copied to clipboard
fun getFavoriteVideos(): List<String>
Link copied to clipboard
fun getPushNotificationTopics(): List<TopicSubscription>
Link copied to clipboard
fun removeFavoriteArticle(uuid: String, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun removeFavoriteVideo(uuid: String, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun removeTopic(name: String, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun setAttribute(    key: String,     value: String,     type: String,     arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun setFavoriteArticles(newUuids: List<String>, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun setFavoriteVideos(newUuids: List<String>, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun setSubscribedPushNotificationTopics(newTopics: List<TopicSubscription>, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun subscribeToTopic(name: String, arcXPIdentityListener: ArcXPIdentityListener? = null)
Link copied to clipboard
fun unsubscribeFromTopic(name: String, arcXPIdentityListener: ArcXPIdentityListener? = null)

Properties

Link copied to clipboard
val currentFavoriteArticlesLiveData: LiveData<List<String>>
Link copied to clipboard
val currentFavoriteVideosLiveData: LiveData<List<String>>
Link copied to clipboard
Link copied to clipboard
val identityApiManager: IdentityApiManager