UserFlowPolicy

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 browse a media source 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 browse a media source which does not require loginUserFlow flow. Normally a root Panel is opened for a source.

settingsUserFlow

User flow performed when the media source's settings user flow is requested. 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
fun UserFlowPolicy(    loginUserFlow: IntentUserFlow? = null,     browseSourceUserFlow: BrowseSourceUserFlow? = null,     settingsUserFlow: IntentUserFlow? = null)

Properties

Link copied to clipboard
val browseSourceUserFlow: BrowseSourceUserFlow? = null
Link copied to clipboard
val loginUserFlow: IntentUserFlow? = null
Link copied to clipboard
val settingsUserFlow: IntentUserFlow? = null