perform

abstract fun perform(    lifecycleOwner: LifecycleOwner,     mediaFrontendContext: MediaFrontendContext,     pendingIntent: PendingIntent?,     onCompletedCallback: () -> Unit)

Performs an intent user flow.

The given pendingIntent comes from the media source itself and is normally used to show the Activity with the external flow. A mediaFrontendContext is provided to help determine the current context and to allow opening panels and creating IVI service references. When the user login flow is completed, the implementation must call the given onCompletedCallback.

The given pendingIntent may be null if the source is unable to offer an external flow of its own. This case can be useful to take remediating action or to notify the user of a problem.