setContentView

fun setContentView(packageName: String, contentViewId: Int): NotificationStyle

Specify the resource id of a view that will be rendered as a custom small notification to represent the currently playing song. Note that the view must only contain views within it that are permissible in a android.widget.RemoteViews.

Return

NotificationStyle so methods can be chained

Parameters

packageName

name of package with view

contentViewId

resource id of view