UserFlowPolicy

@IviExperimental(reasons = [])
data class UserFlowPolicy(val loginUserFlow: IntentUserFlow? = null, val browseSourceUserFlow: BrowseSourceUserFlow? = null, val settingsUserFlow: IntentUserFlow? = null)

A policy to override the default user flow behavior for a media source.

Parameters

loginUserFlow

User flow performed when the user requests to MediaFrontendNavigation.openSource which first requires the user to be logged in. Normally, when a media source reports that it needs the user to log in to be able to browse its contents, a PendingIntent is launched to display the source's login flow.

browseSourceUserFlow

User flow performed when the user requests to MediaFrontendNavigation.openSource which does not require loginUserFlow flow. Normally a root Panel is opened for a source.

settingsUserFlow

User flow performed when the user requests to MediaFrontendNavigation.openSettings. Similarly to loginUserFlow, when the user taps on the settings button, an Intent is sent to display the source's settings Activity.

Constructors

Link copied to clipboard
constructor(loginUserFlow: IntentUserFlow? = null, browseSourceUserFlow: BrowseSourceUserFlow? = null, settingsUserFlow: IntentUserFlow? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard